Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

csrfcz bp

C = SR[bp5];
Z = SR[bp5];
bp ∈ {0, 1, …, 31}

Rev1+

1101000

bp5

0011

7

5

4

Description

Copies the status register (SR) flag specified to C and Z.

Status Flags:

Q:

Not affected

V:

Not affected

N:

Not affected

Z:

Z = SR[bp5]

C:

C = SR[bp5]

Note:

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.