Address range of Jump and Call Instructions A jump or call instruction, replaces the contents of PC with a new address. The difference in bytes, of the new address from the address in the program where the jump or call is located is called the range of the jump or call. the instructions can have different ranges.
Jump Instruction Ranges
Storing and retrieving return address
Range of Jump and Call instructions Relative range: +127D to -128D. Short Absolute range: 2kbytes range Long Absolute range: 0000h to FFFFh
Absolute Range
Unconditional Jump Mnemonic Operation JMP addr Jump to address “ addr ” JMP @A+DPTR Jump to address A+DPTR NOP No operation.
Bit Jump Instructions Mnemonic Operation JC addr Jump to relative address addr if carry flag is set to 1 JNC addr Jump to relative address addr if carry flag is reset to 0 JB b,addr Jump to relative address addr if addressable bit b is set to 1 JNB b, addr Jump to relative address addr if addressable bit b is reset to 0 JBC b, addr Jump to relative address addr if addressable bit b is set. Then clear the bit to 0.