BIT Instruction

Purpose:To test for Bits of the source being set
Format:opcode mask.rx, src.rx
Operation:temp <- src Logical-AND mask;
Condition
Codes:
N <- temp LSS 0;
Z <- temp EQL 0;
V <- 0;
C <- C;
Exceptions:None
Opcodes:
93BITBBit Test Byte
B3BITWBit Test Word
D3BITLBit Test Long
Description: The mask operand is ANDed with the source operand. Both operands are unaffected. The only action is to affect the condition codes.