4.4.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 © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0207D
Non-Confidential