Dear friends,
I read about overflow detection. But one thing that I do not understand is that what is the purpose of classifying the arithmetic operation to either overflow exist or not ?
Please have a look at the image attached
If overflow means that the output is invalid ?
For example, +5 + 3 = +8 (expected)
but in actual it gave us 1000, which is -8 in 2s complement. So means the operation is not valid ?
Thanks !
I read about overflow detection. But one thing that I do not understand is that what is the purpose of classifying the arithmetic operation to either overflow exist or not ?
Please have a look at the image attached
If overflow means that the output is invalid ?
For example, +5 + 3 = +8 (expected)
but in actual it gave us 1000, which is -8 in 2s complement. So means the operation is not valid ?
Thanks !
Attachments
-
25.4 KB Views: 28
-
15.7 KB Views: 29