help about opcode

#1897031
Rate this post
useful
not useful
The offset is given in two's complement to encode positive and negative 
numbers
http://en.wikipedia.org/wiki/Two%27s_complement

This is because it is a relative jump that can jump forward and 
backwards. So the offset is the number of instructions to jump (from the 
current position of the program counter), which can be positive to jump 
in forward direction or negative to jump in reverse direction.

An offset of FFFFF9 (which is -7 in two's complement) means, that a jump 
from the current position to a position that is 7 instructions earlier 
is performed.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now