C.J
Compressed Jump
C.J offset
Unconditional PC-relative jump.
Encoding
Binary Layout
?
31:16
101
15:13
c_imm12
12:2
01
1:0
Operands
-
offset
Target
Example
C.J label
// Jump to label.
Related
More in C
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Performs an unconditional PC-relative jump within an 11-bit signed offset range.
Operation
PC += sext(offset);