Datasheet

ARMulator Reference
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-7
4.2.6 ARMulif_GetCPSR
This function reads the CPSR.
Syntax
ARMword ARMulif_GetCPSR(RDI_ModuleDesc *mdesc)
where:
mdesc
is the handle for the core.
Return
The function returns the value of the CPSR.
4.2.7 ARMulif_SetCPSR
This function writes a value to the CPSR.
Syntax
void ARMulif_SetCPSR(RDI_ModuleDesc *mdesc, ARMword value)
where:
mdesc
is the handle for the core.
value
is the value to be written to the CPSR.