C.JR

Compressed Jump Register

C.JR rs1

Unconditionally jumps to address in register.

Details

Jumps to the address in rs1 without linking.

Pseudocode Operation

PC = R[rs1];

Example

C.JR x1

Encoding

Binary Layout
?
31:16
1000
15:12
rs1_n0
11:7
0000010
6:0
 
Format CR
Opcode 0x00008002
Extension C

Operands

  • rs1
    Address