J

Jump

J offset

Unconditionally jumps to a target offset.

Details

J performs an unconditional jump to a PC-relative offset. It is a pseudoinstruction for JAL x0, offset.

Pseudocode Operation

PC += sext(offset);

Example

J label

Encoding

Binary Layout
jimm20
31:12
000001101111
11:0
 
Format J-Type
Opcode 0x0000006F
Extension Pseudo

Operands

  • offset
    Jump Target