HW-5 Due Feb. 11, 2004 ECE2030a Name____________________p. 1Bring this homework to class on Wednesday Feb. 11.#1. Write the following numbers as binary fractions with 4 fractional bits (0.0001 precision)a. 29.3 ____________________b. 0.1223 ____________________#2. Write the missing unsigned integer numbers in binary, hex, and decimal representations.DecimalHexBinary2996B10101101131A501010011#3. a. Express or decode the following binary floating point numbers. The fraction part (mantissa)should be normalized to five-bit accuracy (to 0.1xxxx where only the four bits xxxx are stored inmemory, but show all here). The exponent should be a 5-bit number in 2’s-compliment representation.Decimal NumberSign BitMantissa (fraction)Exponent2.12500.10001000105610.1010110101-0.0398b. How many bits of memory are required to store floating point numbers in this form?c. What is the precision* to which a number can be stored (accuracy in %) ? __________ %* assume optimum rounding.HW-5 Due Feb. 11, 2004 ECE2030a Name____________________p. 2#4. Show how you would do the following calculations using 2’s complement 10-bit binary numberswhen A = 98 and B=205. Show the operations in binary, and the results in binary and decimal Binary DecimalA_______________________________ _____98____________________B_______________________________ _____205____________________-A_______________________________ _____-98____________________-B_______________________________ _____-205____________________A – B_______________________________ _____________________________B - A_______________________________ _____________________________ (-A) + (-B)_______________________________
View Full Document