XOR - Logical Exclusive OR |
* |
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 |
34 ib | XOR AL, imm8 | AL XOR imm8 |
35 iw | XOR AX, imm16 | AX XOR imm16 |
35 id | XOR EAX, imm32 | EAX XOR imm32 |
80 /6 ib | XOR r/m8, imm8 | r/m8 XOR imm8 |
81 /6 iw | XOR r/m16, imm16 | r/m16 XOR imm16 |
81 /6 id | XOR r/m32, imm32 | r/m32 XOR imm32 |
83 /6 ib | XOR r/m16, imm8 | r/m16 XOR imm8 (sign-extended) |
83 /6 ib | XOR r/m32, imm8 | r/m32 XOR imm8 (sign-extended) |
30 / r | XOR r/m8, r8 | r/m8 XOR r8 |
31 / r | XOR r/m16, r16 | r/m16 XOR r16 |
31 / r | XOR r/m32, r32 | r/m32 XOR r32 |
32 / r | XOR r8, r/m8 | r8 XOR r/m8 |
33 / r | XOR r16, r/m16 | r8 XOR r/m8 |
33 / r | XOR r32, r/m32 | r8 XOR r/m8 |
Operands | Bytes | Clocks | |
reg, reg | 2 | 1 | UV |
mem, reg | 2 + d(0, 2) | 3 | UV |
reg, mem | 2 + d(0, 2) | 2 | UV |
reg, imm | 2 + i(1, 2) | 1 | UV |
mem, imm | 2 + d(0, 2) + i(1, 2) | 3 | UV (not pairable if there is a displacement and immediate) |
acc, imm | 1 + i(1, 2) | 1 | UV |
ID | unaffected | DF | unaffected |
VIP | unaffected | IF | unaffected |
VIF | unaffected | TF | unaffected |
AC | unaffected | SF | sets according to the result |
VM | unaffected | ZF | sets according to the result |
RF | unaffected | AF | undefined |
NT | unaffected | PF | sets according to the result |
IOPL | unaffected | CF | cleared |
OF | cleared |