_ReadCoProcessor

This instruction causes the specified coprocessor registers to transfer values to two ARM registers. The XScale and the DSP-Enhanced ARM microprocessors each implement this instruction in a different way:

  • For the ARM XScale implementation, this instruction moves 64-bits of data to ARM registers from Coprocessor registers. It moves the 40-bit accumulator value (acc0) into two registers. It moves bits [31:0] of the value in acc0 into the register RdLo. Bits [39:32] of the value in acc0 are sign extended to 32 bits and moved into the register RdHi.
  • For the ARM DSP-Enhanced implementation, this instruction causes the coprocessor to transfer values to the two general-purpose registers Rd and Rn.
__int64 _ReadCoProcessor(
  int Arg1
);

Parameters

  • Arg1
    [in] Coprocessor number, equivalent to cp_num.

Return Values

Value held in coprocessor register.

Remarks

The compiler translates this instruction into the MRRC assembly instruction for ARM DSP-Enhanced processors, and into the MRA assembly instruction for ARM XScale processors.

Requirements

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

See Also

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

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.