ECALL

Environment Call

ECALL

Generates an environment call exception (system call).

Encoding

Binary Layout
00000000000000000000000001110011
31:0
 
Format I-Type
Opcode 0x00000073
Extension RV32I

Operands

Related

Across architectures

System Call : how x86, ARM, RISC-V, and PowerISA each do this.

More in RV32I

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);