test dest, src
Equivalent to x86 and, except it only modifies Zero Flag.
Testing Zeros
Used to check if a value is equal to 0:
test eax, eax
Sets ZF to one if eax
= 0.
test dest, src
Equivalent to x86 and, except it only modifies Zero Flag.
Used to check if a value is equal to 0:
test eax, eax
Sets ZF to one if eax
= 0.