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
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
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]