ECALL
Environment Call
ECALL
Generates an environment call exception (system call).
Encoding
Binary Layout
00000000000000000000000001110011
31:0
Operands
Related
Across architectures
System Call : how x86, ARM, RISC-V, and PowerISA each do this.
More in RV32I
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
ECALL makes a service request to the execution environment. It generates an environment-call exception, whose handling depends on the privilege level (U, S, or M).
Operation
RaiseException(EnvironmentCall);