Question
A computer uses 8-bit for FLP (1 bit for sign, 4 bit for exponent with excess-7 rep. (see table below), rest for magnitude). Assume 0000
A computer uses 8-bit for FLP (1 bit for sign, 4 bit for exponent with excess-7 rep. (see table below), rest for magnitude). Assume 0000 and 1111 in exponent field are reserved for denormalization.
Decimal | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Unsigned | 0000 | 0001 | 0010 | 0011 | 0100 | 0101 | 0110 | 0111 |
Excess-7 | Reserved | -6 | -5 | -4 | -3 | -2 | -1 | 0 |
Decimal | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Unsigned | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 |
Excess-7 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | reserved |
a. What is 11000000?
1 | 1000 | 000 | Answer: - 1.0 * 2 ^ 1 = - 2 |
b. How 1 will be represented?
|
|
| Answer: |
c. What is the smallest fraction in this representation? (normalized)
min +ve |
|
|
|
|
d. What is the largest number?
Largest |
|
|
|
|
e. What is the second largest number?
second largest |
|
|
|
|
f. Show that 240 -5 = 240 in this representation.
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