x86 Assembly Language Reference Manual

Exit Print View

Updated: December 2014
 
 

3.2.4 Logical Instructions

The logical instructions perform basic logical operations on their operands.

Table 3-5  Logical Instructions
Oracle Solaris Mnemonic
Intel/AMD Mnemonic
Description
Notes
and{bwlq}
AND
bitwise logical AND
andq valid only under –m64
not{bwlq}
NOT
bitwise logical NOT
notq valid only under –m64
or{bwlq}
OR
bitwise logical OR
orq valid only under –m64
xor{bwlq}
XOR
bitwise logical exclusive OR
xorq valid only under –m64