mfdcr
Move From Device Control Register
mfdcr RT, DCRN
Reads an on-chip peripheral register (DCR).
Encoding
Binary Layout
31
0:5
RT
6:10
DCRN
11:20
323
21:30
/
31
Operands
-
RT
Target -
DCRN
DCR Number
Example
mfdcr r3, 0
Related
More in Embedded
Reference
Not in Power ISA v3.1C
Description
Not in Power ISA v3.1C: this is an embedded-core instruction, and the encoding shown is binutils' (opcodes/ppc-opc.c), not the manual's. Reads a Device Control Register (DCR) and writes the value to general-purpose register RT. This instruction is privileged and device-specific; the DCR address is specified by DCRN. Access to DCR is implementation-dependent and may not be available on all processors.
Operation
RT ← DCR[DCRN]