Extended Instructions
4-118
16-Bit MSP430X CPU
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
Syntax
BICX.A
src,dst
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
Содержание MSP430x4xx Family
Страница 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Страница 2: ......
Страница 6: ...vi ...
Страница 114: ...3 76 RISC 16 Bit CPU ...
Страница 304: ...5 20 FLL Clock Module ...
Страница 340: ...7 8 Supply Voltage Supervisor ...
Страница 348: ...8 8 16 Bit Hardware Multiplier ...
Страница 372: ...9 24 32 Bit Hardware Multiplier ...
Страница 400: ...10 28 DMA Controller ...
Страница 428: ...13 10 Basic Timer1 ...
Страница 466: ...15 24 Timer_A ...
Страница 522: ...17 30 USART Peripheral Interface UART Mode ...
Страница 544: ...18 22 USART Peripheral Interface SPI Mode ...
Страница 672: ...23 12 Comparator_A ...
Страница 692: ...24 20 LCD Controller ...
Страница 746: ...26 28 ADC12 ...