Jump to navigation Jump to search
command cmp operand1, operand2
Compares the first operand with the second operand and sets the status flags in the (E)FLAGS register according to the results.
The CF, OF, SF, ZF, AF, and PF flags are set according to the result.
|operand1||The first operand to compare|
|operand2||The second operand to compare|
cmp eax,0 jne @f
cmp eax,0 pop eax jne @f