Question
Calculate the following in 4-bit Twos compliment integer representation? Indicate if overflow. 4 + 2 5 + 3 -1 + - 5 -2 + -7
Calculate the following in 4-bit Twos compliment integer representation? Indicate if overflow.
4 + 2 | 5 + 3 | -1 + - 5 | -2 + -7 |
5 + -2 | -3 + 4 | 8 + -8 | 1 + -7 |
5 7 | -6 - 5 | -1 1 | 0 - 1 |
1. Promote the following 4-bit 2s complement integers to 8-bit representation.
0001 | 1000 | 1111 | 1010 | 0111 |
BCD & Excess-K
3. Convert the decimal number 123 to BCD (8421) representation?
5. What is the largest and smallest value in 4-bit Excess-7 notation?
Exercise: Assume unsigned 8-bit representation. Calculate 170 + 139 and 170 - 139.
Show your work in both binary & hex.
+ 10101010 - 10101010
10001011 10001011
A A A A
+ 8 B - 8 B
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started