Question: Problem 1: (see example-1 in page-5) A computer uses 8-bit for FLP (1 bit for sign, 4 bit for exponent with excess-7 rep. (see table
Problem 1: (see example-1 in page-5)
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 |
e. What is the smallest number?
| Smallest |
|
|
|
|
f. How -0.25 will be represented?
|
|
|
|
|
|
g. How 4.5 will be represented?
|
|
|
|
|
|
h. What are Zero(s)?
| X = |
|
|
|
|
|
|
|
|
|
|
i. What is NaN?
| NaN |
|
|
|
|
j. What is +Infinity?
| +infinity |
|
|
|
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
