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
000000000000
31:20
00000
19:15
000
14:12
00000
11:7
1110011
6:0
 
Format I-Type
Opcode 0x73
Extension RV32I

Operands