BIC
Bit Clear.
Syntax
BIC{S}{cond} Rd, Rn, Operand2
where:
S
is an optional suffix. If S is specified, the condition flags are updated on the result of the operation.
cond
is an optional condition code.
Rd
is the destination register.
Rn
is the register holding the first operand.
Operand2
is a flexible second operand.
Operation
The BIC (Bit Clear) instruction performs an AND operation on the bits in Rn with the complements of the corresponding bits in the value of Operand2.In certain circumstances, the assembler can substitute BIC for AND, or AND for BIC. Be aware of this whenreading disassembly listings
BIC r0, r1, #0xFF ==> AND r0, r1, #FFFFFF00
把r1的低8位清零