SVC

Supervisor call

This instruction causes an exception to be taken to EL1.

On executing an SVC instruction, the PE records the exception as a Supervisor Call exception in ESR_ELx, using the EC syndrome value 0x15, and the value of the immediate argument.

Encoding: System

313029282726252423222120191817161514131211109876543210
1101010000000001
opcimm16op2LL

SVC #<imm>

Decoding algorithm

constant bits(16) imm = imm16;

Operation

AArch64.CheckForSVCTrap(imm);
AArch64.CallSupervisor(imm);

Explanations

<imm>: Is a 16-bit unsigned immediate, in the range 0 to 65535, encoded in the "imm16" field.