Texas Instruments MSP430x1xx User Manual page 61

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

BIC[.W]
Clear bits in destination
BIC.B
Clear bits in destination
Syntax
BIC
BIC.B
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.
Status Bits
Status bits are not affected.
Mode Bits
OSCOFF, CPUOFF, and GIE are not affected.
Example
The six MSBs of the RAM word LEO are cleared.
BIC
Example
The five MSBs of the RAM byte LEO are cleared.
BIC.B
src,dst
or BIC.W src,dst
src,dst
#0FC00h,LEO
#0F8h,LEO
Instruction Set
; Clear 6 MSBs in MEM(LEO)
; Clear 5 MSBs in Ram location LEO
RISC 16−Bit CPU
3-25

Advertisement

Table of Contents
loading

Table of Contents