It may be obvious to some but seems worth calling out explicitly... a jump offset is in units of # of instructions (not bytes) and is relative to the instruction after the jump. E.g., if a jump is at PC = 5, then offset 1 means to go to PC = 7. Also the term "PC" is never defined and should be defined as the program counter.
It may be obvious to some but seems worth calling out explicitly... a jump offset is in units of # of instructions (not bytes) and is relative to the instruction after the jump. E.g., if a jump is at PC = 5, then offset 1 means to go to PC = 7. Also the term "PC" is never defined and should be defined as the program counter.