Please answer all questions Consider the following two floating point numbers co
ID: 3786984 • Letter: P
Question
Please answer all questionsConsider the following two floating point numbers coded in the 10-bit 2. [30 marks] format defined in class: x a 1 1010 01011 0111 01101 and Do the following: (a) carry out the addition, x y, in binary. Show all of the steps of your work, displayed carefully. Make sure your final binary answer is correctly normalized. Convert the result to normalized 10-bit floating point (b) convert both of the numbers, x and y, to decimal form and add the numbers. (c) convert your answer from part (a) to decimal form and compare it with part (b).
Explanation / Answer
2.
CONVERSION OF HEXA TO DECIMAL
10 * 167 + 11*166 + 7* 165 + 12 * 164 + 15* 163+ 0*162 + 0*161 +0*160 = 2877091840
DECIMAL VALUE = 2877091840
(A) 1010 1011 0111 1100 1111 0000 0000 0000
(B) 0101 0100 1000 0011 0001 0000 0000 0000
(C ) MSB BIT IS SIGNED BIT 0- POSITIVE , 1-NEGATINE
SMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
S-SIGN ,M-MAGNITUDE
0 101 0100 1000 0011 0001 0000 0000 0000
(d. )SIGN * 2EXPONENT * MANTISSA
BINARY : S EEEEEEEE MMMMMMMMMMMMMMMMMMMMMM
0 10011110 01010110111110011110000
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.