You copied the Doc URL to your clipboard.

SVC

Supervisor call to allow application code to call the OS. It generates an exception targeting exception level 1 (EL1).

Syntax

SVC #imm

Where:

imm

Is a 16-bit unsigned immediate, in the range 0 to 65535. This value is made available to the handler in the Exception Syndrome Register.

Usage

Supervisor Call causes an exception to be taken to EL1.

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

  • ESR_ELx, if the exception is taken to an Exception level that is using AArch64.
  • HSR in the ARMv8-A Architecture Reference Manual, if the exception is taken to an Exception level that is using AArch32. See Use of the HSR in the ARMv8-A Architecture Reference Manual.
Was this page helpful? Yes No