I'm reading through the part about how jump instructions are encoded and I am confused about the highlighted line of text: .
How is 0xf3 = decimal -13
? Is this an error? I tried checking the errata but nothing there either.
I'm reading through the part about how jump instructions are encoded and I am confused about the highlighted line of text: .
How is 0xf3 = decimal -13
? Is this an error? I tried checking the errata but nothing there either.
No, it's not an error. "Single-byte, two's complement" is the important part here. So:
11110011
= -128 + 64 + 32 + 16 + 0 * 8 + 0 * 4 + 2 + 1
= -128 + 64 + 32 + 16 + 2 + 1
= -13