You copied the Doc URL to your clipboard.

13.40 HVC

Hypervisor Call.


HVC #imm



is an expression evaluating to an integer in the range 0-65535.


In a processor that implements the Virtualization Extensions, the HVCinstruction causes a Hypervisor Call exception. This means that the processor entersHyp mode, the CPSR value is saved to the Hyp mode SPSR, and execution branches tothe HVC vector.

HVC must not be used if the processor is in Secure state, or in Usermode in Non-secure state.

imm is ignored by the processor.However, it can be retrieved by the exception handler to determine what service isbeing requested.

HVC cannot be conditional, and is not permitted in an IT block.


The ERET instruction performs an exception return from Hyp mode.


This 32-bit instruction is available in A32 and T32. It is availablein ARMv7 architectures that include the Virtualization Extensions.

There is no 16-bit version of this instruction in T32.

Related reference