| |||
| Home > RVISS Reference > Communicating with the core > ARMulif_GetReg | |||
This function reads a register for a specified processor mode.
ARMword ARMulif_GetReg(RDI_ModuleDesc *mdesc, ARMwordmode, unsignedreg)
where:
mdescis the handle for the core.
modeis the processor mode. Values for mode are defined
in armdefs.h (see Mode numbers).
regis the register to read. Valid values are 0 to 14 for registers r0 to r14, PC, or CPSR.