_WriteCoProcessor (Windows CE 5.0)
This instruction causes the specified ARM registers to transfer values to coprocessor registers.
The XScale and the DSP-enhanced ARM microprocessors implement this instruction in two slightly different ways.
ARM XScale implementation
This instruction moves the value in register RdLo to bits [31:0] of the 40-bit accumulator (acc0), and moves bits [7:0] of the value in register RdHi into bits [39:32] of acc0.
ARM DSP-enhanced implementation
This instruction causes the two general-purpose registers Rd and Rn to transfer values to the coprocessor.
void _WriteCoProcessor(__int64 Arg1,intArg2);
Parameters
- Arg1
[in] Values to be written to coprocessor. - Arg2
[in] Coprocessor number. This should be zero.
Return Values
None.
Remarks
For the ARM XScale processor, the compiler translates this intrinsic into the MAR assembly instruction. MRA is disassembled as the MCRR instruction.
For the ARM DSP-enhanced processor, the compiler translates this intrinsic into the MCRR assembly instruction.
Requirements
Header: Armintr.h.
See Also
ARM XSCALE Intrinsic Functions | ARM DSP-enhanced Intrinsic Functions | _ReadCoProcessor
Send Feedback on this topic to the authors