asm/reference

This content has not been validated; it was AI-generated following the x86-64 ISA Documentation generation process to maintain high quality. However, as no human has verified this data, errors may exist. If the accuracy of this data is critical, please consult the Intel SDM. The model used to generate this is gemma4:31b

KANDNW



Performs a bitwise AND operation between two operands and writes the result to the destination.

The following table covers what the source and destinations can be.

source destination(s)
reg reg
imm reg
memory reg
reg memory
imm memory

DO NOT support LOCK

This instruction is ONLY available in 64-bit mode. It is NOT supported in compatibility mode.

Ensure that when using immediate operands, the operand size matches the destination register size to avoid unexpected zero-extension or truncation of the result.