Beginner
Assembly Language
Q11 / 100
What does CMP do?
Correct! Well done.
Incorrect.
The correct answer is B) Compares two operands by subtracting and setting flags without storing the result
B
Correct Answer
Compares two operands by subtracting and setting flags without storing the result
Explanation
CMP A, B computes A - B and sets the CPU flags (ZF, SF, OF, CF) without modifying A or B. Conditional jumps (JE, JL, JG) use these flags.
Progress
11/100