why did you replace the first 3 byte in 0x402c with FF not 00?
@dones2758
5 жыл бұрын
The number is signed. F at the start of the memory (the most signifacant bit) means that the number is negative, so by loading a byte you have to replace the first three byte with FFFFFF and then the last 2 byte at the end.
@rickie_bo
4 жыл бұрын
@@dones2758 How do we know if we should sign extend? Do we only do it when we have "load byte" or there are some previous requirements... Thanks in advance :)
Пікірлер: 5