Datasheet
www.ti.com
Instruction Set Description
4.6.3.6 BISX
BISX.A 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
BISX.A src,dst
Syntax
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 one.
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.
BISX.B @R5,&P1OUT ; Set I/O port P1 bits
221
SLAU144J–December 2004–Revised July 2013 CPUX
Submit Documentation Feedback
Copyright © 2004–2013, Texas Instruments Incorporated