Question
The following arithmetic operations using 8-bit binary signed 1’s and signed 2’s complement notation for integers. (Please note that the numbers given here are in decimal notation)
i) Add – 52 and 68
ii) Subtract 66 from – 62
ii) Add 28 and 100
Please indicate the overflow if it is occurs.
Answer :
Word Count : 274
____ __________ ______ ______ _______.
_______ ____ ____ _____ _________ _____ ________ ___ ___ ___ _____ _________.
________ ____ ___ ________ ______ _______ _______ _________ ________ ________.
_________ _______ ____ ___ ______ __________ ___.
_____ ________ ____ _______ _________.
___ __________ ___ __________ ___ __________ ___ ___.
__________ _______ ________ _________ _____ _____ _________ _______ _________ ____ ____ _____.
_____ __________ _______ ______ ___ ________ ________ ______ ______ ____ _________ ________.
_____ ______ _______ ______ ______ _________ ________ ______ _________.
_____ _________ _______ _____ ___ ________ ____ _____.
____ _____ __________ ____ _____ _______ ______ _______ ______ _________ ________ _____.
___ _____ _________ ______ _________ _______ ______ __________ _________ _______ ______ __________.
______ ___ _____ ________ __________ ___.
__________ ___ _________ __________ ________ __________ ____ __________ _________ ___ _________ ___.
________ ______ ________ ___ _____ ____ ______ _____ ___ __________ ______ ______.
__________ ____ ________ ______ _________ _____.
________ __________ _____ ________ ________ _______ ______.
_____ _________ _______ _____ ___ _______ ________ ___ ______ _________ ______.
___ ______ ___ _________ _______ _____.
_________ ________ ________.
Skip in 10
i) Add –52 and 68:
- First, represent the numbers in 8-bit signed 1's complement:
- -52 in 1's complement: 11001100 (invert the bits of 52, which is 00110100).
- 68 in binary: 01000100.
- Add the two binary numbers:
```
11001100 (-52)
+ 01000100 (68)
--------
10010000 (16 in decimal)
```
- The result is 16 in decimal.
- There is no overflow because the result fits within the 8-bit signed range (-128 to 127).
ii) Subtract 66 from –62:
- Represent the
_______ ____ ____ _____ _________ _____ ________ ___ ___ ___ _____ _________.
________ ____ ___ ________ ______ _______ _______ _________ ________ ________.
_________ _______ ____ ___ ______ __________ ___.
_____ ________ ____ _______ _________.
___ __________ ___ __________ ___ __________ ___ ___.
__________ _______ ________ _________ _____ _____ _________ _______ _________ ____ ____ _____.
_____ __________ _______ ______ ___ ________ ________ ______ ______ ____ _________ ________.
_____ ______ _______ ______ ______ _________ ________ ______ _________.
_____ _________ _______ _____ ___ ________ ____ _____.
____ _____ __________ ____ _____ _______ ______ _______ ______ _________ ________ _____.
___ _____ _________ ______ _________ _______ ______ __________ _________ _______ ______ __________.
______ ___ _____ ________ __________ ___.
__________ ___ _________ __________ ________ __________ ____ __________ _________ ___ _________ ___.
________ ______ ________ ___ _____ ____ ______ _____ ___ __________ ______ ______.
__________ ____ ________ ______ _________ _____.
________ __________ _____ ________ ________ _______ ______.
_____ _________ _______ _____ ___ _______ ________ ___ ______ _________ ______.
___ ______ ___ _________ _______ _____.
_________ ________ ________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.