and
Logical AND
AND r/m, r
Performs bitwise AND.
Details
The Logical AND instruction performs bitwise AND.
Pseudocode Operation
DEST <- DEST AND SRC
// Flags affected: SF, ZF, PF (OF=CF=0)
Example
AND rbx, rax
Encoding
Binary Layout
20+ow
+0
ModRM
+1
Operands
-
dest
Register or memory operand -
src
General-purpose register