Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||||||
|
1 |
mfsr Rd, SystemRegisterAddress |
Rd = SystemRegister[SystemRegisterAddress << 2]; |
SystemRegisterAddress ∈ {0, 4, 8, ..., 1020} |
Rev1+ |
|
The instruction copies the value in the specified system register to the specified register in the register file. Note that special timing concerns must be considered when operating on the sys- tem registers, see the Pipeline Chapter for details.
|
Q: |
Not affected. |
|
V: |
Not affected. |
|
N: |
Not affected. |
|
Z: |
Not affected. |
|
C: |
Not affected. |
Some system registers are implementation defined. If accessing a system register that does not exist, the result is UNDEFINED.
With the exception of accessing the JECR and JOSP system registers, this instruction can only be executed in a privileged mode. Execution from any other mode will trigger a Privilege Viola- tion exception.
JECR and JOSP can be accessed from all modes with this instruction.