Webcentive RISC-V Reference

scall

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 ecall

3120191514121176210
00000000000000000000000001110011

Match 0x00000073, mask 0xffffffff. Source: $pseudo_op rv_i::ecall scall 11..7=0 19..15=0 31..20=0x000 14..12=0 6..2=0x1C 1..0=3 in riscv-opcodes/extensions/rv_i.

Description

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

Specification and related pages