Views : 121,658
Genre: Education
Date of upload: Oct 11, 2022 ^^
Rating : 4.832 (76/1,738 LTDR)
RYD date created : 2024-04-29T03:23:39.22124Z
See in json
Top Comments of this video!! :3
Good explanation. Question! If I subtract two unsigned numbers e. g. 2 - 7 in binary 0010 - 0111
I guess that I can not caluclate the result because I have unsigned numbers. They are always positive. What happens in this case. Is there a carry? Is there a overflow? Thank you for your help in advance!
|
on scenario 1 at 9:18, the two negative numbers added obtained a negative result so wouldnt there be no overflow?
1 |
I think you have made a mistake in S1. We would consider 4 bits of the result only 0110 and this would sum up to 6. Now since we know that we added 2 negative numbers and the result we got has a positive sign (+6) so now we will say it is a case of overflow as we would need 5 bits to represent -10.
1 |
@RSA_Shock
1 year ago
thanks so much helped clear up some stuff
4 |