~ruther/verilog-riscv-semestral-project

ref: 9f4ac4dc09c9ccb93c6b1d9726bc7543ff09de00 verilog-riscv-semestral-project/programs/tests.c -rwxr-xr-x 132 bytes
9f4ac4dc — Rutherther fix: jump according to zero flag, not LSB zero!! 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
void main()
{
	signed char a = -10;
	signed char b = a << 1;
	unsigned char c = ((unsigned char)b) >> 1;
	signed char d = b >> 1;
}
Do not follow this link