zero flag
The flag that is 1 when the last result was exactly zero.
ZF (x86-64) and Z (ARM64) are set when the result of a flag-setting operation is all zero bits, and cleared otherwise.
Examples
sub eax, eaxsets ZF = 1, because the result is 0.
See also