bfc

Bit Field Clear

BFC<c> <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
cond
0111
110
msb
Rd
lsb
001
1111
 
Format Data Proc
Opcode 0x07C0001F
Extension A32 (Base)

Operands

  • Rd
    Destination general-purpose register
  • lsb
    Start Bit
  • width
    Width