risc-v

Definition

jalr (RISC-V)

Jumps to the target address computed from register b plus a sign-extended 12-bit immediate offset, and stores the address of the next instruction in register rd.

jalr rd, b, offset

Equivalent C code:

rd = next_pc;
goto target;