BIC Instruction

Purpose:To perform complemented AND of two integers
Format:opcode mask.rx, dst.mx
opcode mask.rx, src.rx, dst.wx
Operation:dst <- dst AND NOT(mask);
dst <- src AND NOT(mask);
Condition
Codes:
N <- dst LSS 0;
Z <- dst EQL 0;
V <- 0;
C <- C;
Exceptions:None
Opcodes:
8ABICB2Bit Clear Byte 2 Operand
8BBICB3Bit Clear Byte 3 Operand
AABICW2Bit Clear Word 2 Operand
ABBICW3Bit Clear Word 3 Operand
CABICL2Bit Clear Long 2 Operand
CBBICL3Bit Clear Long 3 Operand
Description: In the 2 operand format, the mask operand is ANDed with the ones complement of the destination operand and the destination operand is replaced by the result.

In the 3 operand format, the mask is ANDed with the ones complement of the source operand and the destination operand is replaced by the result.