_WriteCoProcessor

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.

  1. For the 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.
  2. For the 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,
  int Arg2
);

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 MRA assembly instruction. For the ARM DSP-Enhanced processor, the compiler translates this intrinsic into the MCRR assembly instruction.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Armintr.h.

See Also

ARM XSCALE Intrinsic Functions | ARM DSP-Enhanced Intrinsic Functions | _ReadCoProcessor

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.