c.jalr

C.JALR (jump and link register) performs the same operation as C.JR, but additionally writes the address of the instruction following the jump (pc+2) to the link register, x1. C.JALR expands to jalr x1, 0(xs1).

Synopsis

c.jalr xs1

Encoding

Type:

0671112150000010xs11001

RISC-V Instruction Encoder/Decoder

open c.jalr in rvcodecjs

Availability