Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||||
1 |
csrfcz bp |
C = SR[bp5]; Z = SR[bp5]; |
bp ∈ {0, 1, …, 31} |
Rev1+ |
|
Copies the status register (SR) flag specified to C and Z.
Q: |
Not affected |
V: |
Not affected |
N: |
Not affected |
Z: |
Z = SR[bp5] |
C: |
C = SR[bp5] |
Privileged if bp5 > 15, ie. upper half of status register. A Privilege Violation exception will be trig- gered if the upper half of the status register is attempted read in user mode.