TSK3000A Core Instruction - JAL
Frozen Content
Instruction: | Jump And Link |
Assembler Format: | jal target |
Example: | jal _myfunc |
Description: | Generates a jump target address by left-shifting a 26-bit immediate value IMM26 (calculated from the target operand) by 2 bits and combining the result with the high-order 4 bits of the address of the instruction in the delay slot. The program jumps unconditionally to this address after a delay of one instruction cycle. The address of the instruction following the instruction in the delay slot is placed in general purpose register r31 as the return address from the jump. |
Operation: | GPR[31] <-- PC + 8 |
Instruction Type: | J-Type |
Instruction Fields: | target = a symbolic address label or a hard-coded address in bytes |
Encoding:
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 1 | 1 | IMM26 |
Latency: 1