ret
Pseudo-op
- Extension
- RV32I/RV64I base integer
- XLEN
- RV32 and RV64
- Operand fields
- none
- Length
- 32-bit
Encoding
listed in riscv-opcodes as a pseudo-op of jalr
| 3120 | 1915 | 1412 | 117 | 62 | 10 | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 000000000000 | 00001 | 000 | 00000 | 11001 | 11 | ||||||||||||||||||||||||||
Match 0x00008067, mask 0xffffffff. Source: $pseudo_op rv_i::jalr ret 31..20=0 19..15=0x01 14..12=0 11..7=0 6..2=0x19 1..0=3 in riscv-opcodes/extensions/rv_i.
Description
Encoding only. riscv-opcodes lists ret as a pseudo-op of jalr: the same encoding as jalr 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