Intermediate
Assembly Language
Q80 / 100
What is the Sign Flag (SF) set to after an operation?
Correct! Well done.
Incorrect.
The correct answer is B) Set to the most significant bit of the result — 1 for negative (if treating as signed), 0 for positive
B
Correct Answer
Set to the most significant bit of the result — 1 for negative (if treating as signed), 0 for positive
Explanation
SF mirrors the MSB of the result. JNS (Jump if Not Sign) and JS (Jump if Sign) use SF for signed comparisons.
Progress
80/100