4.4.1. Mode numbers

A number of the following functions take an unsigned mode parameter to specify the processor mode. The mode numbers are defined in armdefs.h, and are listed here:

In addition, the special value CURRENTMODE is defined. This enables ARMulif_GetReg(), for example, to return registers of the current mode.

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0207D
Non-Confidential