BT - Bit Test |
* |
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 A3 | BT r/m16, r16 | Store selected bit in CF flag |
0F A3 | BT r/m32, r32 | Store selected bit in CF flag |
0F BA /4 ib | BT r/m16, imm8 | Store selected bit in CF flag |
0F BA /4 ib | BT r/m32, imm8 | Store selected bit in CF flag |
Effective Address + (4 * (BitOffset DIV 32))
Effective Address + (2 * (BitOffset DIV 16))
Operands | Bytes | Clocks | |
reg, reg | 3 | 4 | NP |
mem, reg | 3 + d(0, 1, 2, 4) | 9 | NP |
reg, imm8 | 3 + i(1) | 4 | NP |
mem, imm8 | 3 + d(0, 1, 2, 4) + i(1) | 4 | NP |
ID | unaffected | DF | unaffected |
VIP | unaffected | IF | unaffected |
VIF | unaffected | TF | unaffected |
AC | unaffected | SF | undefined |
VM | unaffected | ZF | undefined |
RF | unaffected | AF | undefined |
NT | unaffected | PF | undefined |
IOPL | unaffected | CF | contains the value of the selected bit |
OF | undefined |