Unconditional branch (PC relative).
The following can be specified for disp22:
The following can be specified for disp32:
Transfers control to the address attained by adding the current program counter (PC) value and the relative or absolute expression value specified by the first operand.
Transfers control to the address attained by adding the current program counter (PC) value and the relative or absolute expression value specified by the first operand.
If the instruction is executed in syntax "jr disp22", the assembler generates one jr machine instructionNote if any of the following expressions are specified for disp22. |
The jr machine instruction takes an immediate value in the range of -2,097,152 to +2,097,151 (0xFE00000 to 0x1FFFFF) as the displacement. |
If the instruction is executed in syntax "jr disp32", the assembler generates one jr machine instruction (6-byte long instruction). |
If an absolute expression having a value exceeding the range of -2,097,152 to +2,097,151 is specified as disp22, the assembler outputs the following message and stops assembling. |
If an absolute expression having an odd-numbered value is specified as disp22/disp32, the assembler outputs the following message and stops assembling. |