Webcentive RISC-V Reference

j

Pseudo-op

Extension
RV32I/RV64I base integer
XLEN
RV32 and RV64
Operand fields
jimm20
Length
32-bit

Encoding

listed in riscv-opcodes as a pseudo-op of jal

31121176210
imm[20|10:1|11|19:12]000001101111

Match 0x0000006f, mask 0x00000fff. Source: $pseudo_op rv_i::jal j jimm20 11..7=0x0 6..2=0x1b 1..0=3 in riscv-opcodes/extensions/rv_i.

FieldBitsriscv-opcodes name
imm[20|10:1|11|19:12]31:12jimm20

Description

Encoding only. riscv-opcodes lists j as a pseudo-op of jal: the same encoding as jal with the fixed fields shown above.

Specification and related pages