Logical Instructions
Name Description Code Operation operands operand size
not bitwise logical NOT
(Invert each bit)
not op op = !op reg
mem
byte
word
dword
and bitwise logical AND and dest,source dest = dest & source reg, reg
reg, mem
mem, reg
reg, const
mem, const
byte
word
dword
or bitwise logical OR or dest,source dest = dest | source
xor bitwise logical exclusive OR xor dest,source dest = dest (exor) source
test Logical compare test op1,op2 op1 & op2