Consider three registers R1, R2, and R3 that store numbers in IEEE-754 single precision floating point format. Assume that R1 and R2 contain the values (in hexadecimal notation) 0x42200000 and 0xC1200000, respectively.
If R3=R2R1, what is the value stored in R3?
Select one answerSingle correct
Pick an option to check
Solution
Step-by-step verified solution
Official answer: B) 0xC0800000
Number Representation and Arithmetic
To find the value stored in R3=R2R1, let us decode the IEEE-754 single-precision (32-bit) representations of R1 and R2.
Convert the hexadecimal values to binary, determine the sign, exponent, and mantissa for each register, evaluate the division, and re-encode the result back into IEEE-754 single precision format.
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 1 related Number Representation and Arithmetic PYQs now with no account.
A plain-text card for WhatsApp or Telegram study groups.
GateAI solution cardGATE CSE 2020 · Q29 · MCQ
Consider three registers R1, R2, and R3 that store numbers in IEEE-754 single precision floating point format. Assume that R1 and R2 contain the values (in hexadecimal notation) 0x42200000 and 0xC1200000, respectively. If R3 = (R1)/(R2), what is the value stored in R3?