BSF - Bit Scan Forward |
* |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
? |
Code | Mnemonic | Description |
0F BC | BSF r16, r/m16 | Bit scan forward on r/m16 |
0F BC | BSF r32, r/m32 | Bit scan forward on r/m32 |
Operands | Bytes | Clocks | |
r16, r16 | 3 | 6 - 34 | NP |
r32, r32 | 3 | 6 - 42 | NP |
r16, m16 | 3 + d(0, 1, 2) | 6 - 35 | NP |
r32, m32 | 3 + d(0, 1, 2, 4) | 6 - 43 | NP |
ID | unaffected | DF | unaffected |
VIP | unaffected | IF | unaffected |
VIF | unaffected | TF | unaffected |
AC | unaffected | SF | undefined |
VM | unaffected | ZF | sets to 1 if all the source operand is 0; otherwise, is cleared |
RF | unaffected | AF | undefined |
NT | unaffected | PF | undefined |
IOPL | unaffected | CF | undefined |
OF | undefined |