The only J-type instructions are the jump instructions j
and jal
.
These instructions require a 26-bit coded address field to specify the
target of the jump.
When a J-type instruction is executed, a full 32-bit jump target address is formed by concatenating the high order four bits of the PC (the address of the instruction following the jump), the 26 bits of the target field, and two 0 bits.
op 31-26
|
target 25-0
|
Instruction | Opcode | Target | |
---|---|---|---|
j | label | 000010 | coded address of label |
jal | label | 000011 | coded address of label |