C.JAL
Compressed Jump and Link
C.JAL offset
Performs a PC-relative jump and stores return address in x1 (ra). RV32 only.
Details
Performs a PC-relative jump and saves the return address in x1 (RV32 only).
Pseudocode Operation
R[1] = PC + 2; PC += sext(offset);
Example
C.JAL func
Encoding
Binary Layout
001
15:13
imm
01
12:11
Operands
-
offset
Jump Target