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
1000
15:12
rs1
11:7
00000
6:2
10
1:0
 
Format CR
Opcode 02
Extension C

Operands

  • rs1
    Address