0 votes
in General Knowledge by (744k points)
When is ZF set? SF? OF? CF?

1 Answer

0 votes
by (744k points)
 
Best answer
result of last ALU operation is 0

result of last ALU op resulted in the sign bit (MSB) being set to 1

result of last ALU op resulted in overflow for signed operation (carryout/carryin of MSB are not same value)

result of last ALU op resulted in overflow for an unsigned operation (carryout of MSB is 1)
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.
...