bfc
Bit Field Clear (Thumb)
BFC <Rd>, #<lsb>, #<width>
Clears a bitfield in a register.
Details
The Bit Field Clear instruction clears a bitfield in a register.
Pseudocode Operation
IF condition THEN PC ← target
Example
BFC r0, #0, #width
Encoding
Binary Layout
11110011011011110000
Rd
0
imm3
imm2
Operands
-
Rd
Destination general-purpose register -
lsb
Start -
width
Width