| |||
Home > ARMulator Reference > Communicating with the core > ARMulif_CPRead |
This function calls the read
method for
a coprocessor.
int ARMulif_CPRead(RDI_ModuleDesc *mdesc
, unsigned cpnum
, unsigned reg
, ARMword *data
)
where:
mdesc
is the handle for the core.
cpnum
is the number of the coprocessor.
reg
is the number of the coprocessor register to read
from, as indexed by CR
in
an n
LDC
or STC
instruction.
data
is a pointer for the data read from the coprocessor register. The number of words transferred, and the order of the words, is coprocessor dependent.