Webcentive RISC-V Reference

sltz

Pseudo-op

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

Encoding

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

31252420191514121176210
000000000000rs1010rd0110011

Match 0x00002033, mask 0xfff0707f. Source: $pseudo_op rv_i::slt sltz rd rs1 31..25=0 24..20=0x0 14..12=2 6..2=0x0C 1..0=3 in riscv-opcodes/extensions/rv_i.

FieldBitsriscv-opcodes name
rs119:15rs1
rd11:7rd

Description

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

Specification and related pages