I'm making some exercises on assembly MIPS(32 bit) and I don't really understand how the left shift by 2 works.
I'll add a couple of examples just to explain it better.
I've got problems once the last 16 bytes aren't positive, like in this example:
Thanks in advance.
the same way
1111 1111 1111 1111 1111 1111 1110 1100
will be
[11]11 1111 1111 1111 1111 1111 1110 1100{00}
so it's
1111 1111 1111 1111 1111 1111 1011 0000
0xffffffb0
User contributions licensed under CC BY-SA 3.0