BIS Instruction

Purpose:To perform logical inclusive OR of two integers
Format:opcode mask.rx, dst.mx
opcode mask.rx, src.rx, dst.wx
Operation:dst <- dst Logical-OR mask;
dst <- src Logical-OR mask;
Condition
Codes:
N <- dst LSS 0;
Z <- dst EQL 0;
V <- 0;
C <- C;
Exceptions:None
Opcodes:
88BISB2Bit set Byte 2 Operand
89BISB3Bit set Byte 3 Operand
A8BISW2Bit set Word 2 Operand
A9BISW3Bit set Word 3 Operand
C8BISL2Bit set Long 2 Operand
C9BISL3Bit set Long 3 Operand
Description: In the 2 operand format, the mask operand is ORed with the destination operand and the destination operand is replaced by the result.

In the 3 operand format, the mask is ORed with the source operand and the destination operand is replaced by the result.