JR

Jump Register

JR rs

Unconditionally jumps to an address held in a register.

Details

JR performs an unconditional indirect jump to the address in rs1. It is a pseudoinstruction for JALR x0, 0(rs1).

Pseudocode Operation

PC = R[rs];

Example

JR x10

Encoding

Binary Layout
000000000000
31:20
rs1
19:15
000
14:12
00000
11:7
1100111
6:0
 
Format I-Type
Opcode 0x67
Extension Pseudo

Operands

  • rs
    Address Register