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
| 3112 | 117 | 62 | 10 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| imm[20|10:1|11|19:12] | 00000 | 11011 | 11 | ||||||||||||||||||||||||||||
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.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| imm[20|10:1|11|19:12] | 31:12 | jimm20 |
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
- The RISC-V Instruction Set Manual: src/unpriv/rv32.adoc (RV32I/RV64I base integer)
- RV32I/RV64I base integer instruction listing