ECALL

Environment Call

ECALL

Generates an environment call exception (system call).

Details

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

Pseudocode Operation

RaiseException(EnvironmentCall);

Example

ECALL

Encoding

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

Operands