C.J

Compressed Jump

C.J offset

Unconditional PC-relative jump.

Details

Performs an unconditional PC-relative jump within an 11-bit signed offset range.

Pseudocode Operation

PC += sext(offset);

Example

C.J label

Encoding

Binary Layout
?
31:16
101
15:13
c_imm12
12:2
01
1:0
 
Format CJ
Opcode 0x0000A001
Extension C

Operands

  • offset
    Target