BSF

Bit Set F

Bit ‘b’ in register ‘f’ is set.

[the_ad id=”3059″]

Syntax:

[ label ] BSF f,b

Operation:

1 → (f<b>)

Operands:

  • 0 ≤ f ≤ 127
  • 0 ≤ b ≤ 7

Status Affected: None

Example:

Before instruction:
After instruction:
[the_ad id=”3059″]

Example:

Before instruction:
After instruction: