Set bits set in source address-word in destination address-word
BISX.[W]
Set bits set in source word in destination word
BISX.B
Set bits set in source byte in destination byte
Syntax
BISX.A src,dst
BISX src,dst or BISX.W src,dst
BISX.B src,dst
Operation
src .or. dst → dst
Description
The source operand and the destination operand are logically ORed. The result is placed into the destination. The source operand is not affected. Both operands may be located in the full address space.
Status Bits
N:
Not affected
Z:
Not affected
C:
Not affected
V:
Not affected
Mode Bits
OSCOFF, CPUOFF, and GIE are not affected.
Example
Bits 16 and 15 of R5 (20-bit data) are set to 1.
BISX.A #018000h,R5 ; Set R5.16:15 bits
Example
A table word pointed to by R5 (20-bit address) is used to set bits in R7.
BISX.W @R5,R7 ; Set bits in R7
Example
A table byte pointed to by R5 (20-bit address) is used to set bits in output Port1.