Question

2) Where are carry and overflow stored at after performing a mathematical operation?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

In assembly language whenever mathematical operations or other operations the carry and overflow flags are stored in status registers..

status register generally stores the flags of sign flag(S), auxiliary flag(AC), overflow flag(O), carry flag(CY), parity flag(P) and zero flag(Z). The order depends upon what microprocessor you using.

for example in 8086 micro processor flags are assigned in this way:

d15 d14 d13 d12 d11 d10 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00
O D I T S Z AC P CY
Add a comment
Know the answer?
Add Answer to:
2) Where are carry and overflow stored at after performing a mathematical operation?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT