Datasheet

ARMulator Reference
4-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
4.2.4 ARMulif_GetPC and ARMulif_GetR15
This function reads the pc.
ARMulif_GetPC
and
ARMulif_GetR15
are synonyms.
Syntax
ARMword ARMulif_GetPC(RDI_ModuleDesc *mdesc)
ARMword ARMulif_GetR15(RDI_ModuleDesc *mdesc)
where:
mdesc
is the handle for the core.
Return
This function returns the value of the pc.
4.2.5 ARMulif_SetPC and ARMulif_SetR15
This function writes a value to the pc.
ARMulif_SetPC
and
ARMulif_SetR15
are synonyms.
Syntax
void ARMulif_SetPC(RDI_ModuleDesc *mdesc, ARMword value)
void ARMulif_SetR15(RDI_ModuleDesc *mdesc, ARMword value)
where:
mdesc
is the handle for the core.
value
is the value to be written to the pc.