Posts by Victor O. Costa • 41 points
2 posts
-
0
votes3
answers430
viewsA: How to know if a binary sum of unsigneds has overflowed?
Solution: I found a way to do this. First check the most significant bits (msb) of the numbers to be summed. If both are 1, we will overflow. Otherwise, if only one of them is 1 and the msb of the…
-
4
votes3
answers430
viewsQ: How to know if a binary sum of unsigneds has overflowed?
If I have a sum of two unsigned numbers (1 byte each) in an Assembly without carry flag, how do I know if I have overflow? Edit: the architecture in question is Neander Solution: I found a way to do…