Hưng Thịnh
New member
How does CMP work in assembly?
Answer
The CMP instruction
compares two operands
. It is generally used in conditional execution. This instruction basically subtracts one operand from the other for comparing whether the operands are equal or not. It does not disturb the destination or source operands.
Answer
The CMP instruction
compares two operands
. It is generally used in conditional execution. This instruction basically subtracts one operand from the other for comparing whether the operands are equal or not. It does not disturb the destination or source operands.