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
__________ _______ _________ _______ ______.
___ _____ ______ ________ ___.
___ _______ _________ _____ _______ ____ ____ _______.
___ ________ _________ ______ ________ ___ ________ _______.
_____ _______ ___ ________ ____ _____ __________ ___ ___ ________.
___ __________ ____ _______ ______ ____ _______ _________ __________ _________.
__________ _______ ______ _____ ________ __________ ____ _______ ____ ________ _________ ___.
_____ _________ _________ _________ __________ ________ __________.
_______ ______ ______ __________ __________ __________ ______ ____ _________.
____ _________ ________ _______ _________ ____ ________.
_________ ______ __________ _________ ____ _______.
_________ ____ ________ _____ ___ ______.
____ ____ __________ _____ ________ ___.
___ __________ ________ __________ ________ _________ ______ ____ _________ ___.
_____ __________ ________ _______ ___ _______ ________ _________ ___ __________.
______ ________ __________ ___ __________ ________ ___ ___ __________ _______ _______ __________.
____ __________ ________ _____ _____ ____ __________ ___ ____ ____ _______.
______ ________ ________ ____ _____ __________ __________.
________ ___ __________ __________ _____ ________ _______ _____.
_________ _____ ____ _____ ________.
_________ _________ _______ ____ _______ _______ ___ ___.
__________ _____ __________ ___ ____ _____ _______ ________.
________.
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.