4.2.8. ARMulif_GetSPSR

This function returns the current contents of the SPSR for a specified processor mode.

Syntax


ARMword ARMulif_GetSPSR(RDI_ModuleDesc *mdesc, ARMword mode)

where:

mdesc

is the handle for the core.

mode

is the processor mode for the SPSR you want to read.

User mode

ARMulif_GetSPSR returns the current contents of the CPSR if mode is USER32MODE.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential