CS/ECE 354 Machine Organization and Programming
Assignment 6
Due at noon October 21st 1994. Handin by using the handin6 script online.
Paper copies will not be accepted.
You must show your work to receive full credit. Files including answers only will
not receive credit. A sufficient level of detail is to include a short written description
of each step in your computation (ie/ normalize via right shift of 4 bits) along with
intermediate values of S, E, and F for each floating point number.
(1) (5 points) The following are binary representations of IEEE single precision
floating point numbers to be added. Find the IEEE single precision floating point
representation of the sum ANS = N1 + N2. Express the answer in both binary
and hexadecimal.
N1 = 0100 0001 0001 1100 0000 0000 0000 0000
N2 = 0100 0011 0001 0000 0000 0000 0000 0000
(2) (5 points) The following are binary representations of IEEE single precision
floating point numbers to be subtracted. Find the IEEE single precision floating
point representation of the difference ANS = N1 - N2. Express the answer in
both binary and hexadecimal.
N1 = 1100 1000 0000 0010 0000 0000 0000 0000
N2 = 1100 0100 0000 1000 0000 0000 0000 0000
(3) (5 points) The following are binary representations of IEEE single precision
floating point numbers to be multiplied. Find the IEEE single precision floating
point representation of the product ANS = N1 * N2. Express the answer in both
binary and hexadecimal.
N1 = 0100 0001 1100 0000 0000 0000 0000 0000
N2 = 0100 0000 0110 0000 0000 0000 0000 0000