
Instruction Set Description
4.6.3.5
BICX
BICX.A
Clear bits set in source address-word in destination address-word
BICX.[W]
Clear bits set in source word in destination word
BICX.B
Clear bits set in source byte in destination byte
BICX.A src,dst
Syntax
BICX src,dst
or
BICX.W src,dst
BICX.B src,dst
Operation
(.not. src) .and. dst
→
dst
Description
The inverted source operand and the destination operand are logically ANDed. 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
The bits 19:15 of R5 (20-bit data) are cleared.
BICX.A
#0F8000h,R5
; Clear R5.19:15 bits
Example
A table word pointed to by R5 (20-bit address) is used to clear bits in R7. R7.19:16 = 0.
BICX.W
@R5,R7
; Clear bits in R7
Example
A table byte pointed to by R5 (20-bit address) is used to clear bits in output Port1.
BICX.B
@R5,&P1OUT
; Clear I/O port P1 bits
190
CPUX
SLAU272C – May 2011 – Revised November 2013
Copyright © 2011–2013, Texas Instruments Incorporated