mtdcr
Move To Device Control Register
mtdcr DCRN, RS
Writes an on-chip peripheral register (DCR).
Encoding
Binary Layout
31
0:5
RS
6:10
DCRN
11:20
451
21:30
/
31
Operands
-
DCRN
DCR Number -
RS
Source
Example
mtdcr 0, r3
Related
More in Embedded
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Writes the value from general-purpose register RS to a Device Control Register (DCR) specified by DCRN. This instruction is privileged and device-specific. Access to DCR is implementation-dependent and may not be available on all processors; the effects depend on the target DCR.
Operation
DCR[DCRN] ← RS