4.2.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 © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential