Purpose: | To set or clear trap enables | ||||||
Format: | opcode mask.rw | ||||||
Operation: |
BISPSW PSW <- PSW OR mask; BICPSW PSW <- PSW AND NOT mask; |
||||||
Condition Codes: |
|
||||||
Exceptions: | Reserved Operand | ||||||
Opcodes: |
|
||||||
Description: | On BISPSW, the PSW is ORed with the 16 bit mask operand and the PSW is replaced by the result. On BICPSW, the PSW is ANDed with the ones complement of the 16 bit mask operand and the PSW is replaced by the result. |
||||||
Notes: | A reserved operand fault occurs if the mask bit 15:8 are not zero. On a reserved operand fault, the PSW is not affected. |