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位清零
本文详细介绍了ARM汇编语言中的BIC指令(BitClear),该指令用于执行按位清除操作。文章解释了BIC指令的语法及其如何通过与Operand2的补码进行AND运算来清零Rn寄存器中特定的位。
5859

被折叠的 条评论
为什么被折叠?



