J
Jump
J offset
Unconditionally jumps to a target offset.
Encoding
Binary Layout
jimm20
31:12
000001101111
11:0
Operands
-
offset
Jump Target
Example
J label
// Unconditional jump (discarding return address).
Related
More in Pseudo
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
J performs an unconditional jump to a PC-relative offset. It is a pseudoinstruction for JAL x0, offset.
Operation
PC += sext(offset);