(10 pt) The two IEEE floating numbers below are with 5-bit exponent bit is ignor
ID: 3723731 • Letter: #
Question
(10 pt) The two IEEE floating numbers below are with 5-bit exponent bit is ignored). Write their values in binary scientific notations (e.g. 1.01x2) 1. s and 7-bit fractions (the sign 01010 0101010 00000 0101010 (15 pt) In MIPS codes below, identify the target addresses of 'jr' instructions in terms of labels X, A. B, S. T, or Y 2. data word S, T, Y X: # this line does not include any directives or data word Y text la St0, T Sto # Target Address in $t0- T: w Ss0, X+8(Szero) Ss0 # Target Address in $s0 Y: la $a0, A lw Sal, -8(Sa0) Sal # Target Address in Sal 0 pt) Consider the following variables where randomO returns a valid random integer in 32 bits: int x random(); int y random(); For each of the following C expression, indicate whether or not the expression always yields 1 e). If it always yields 1, very briefly describe the underlying mathematical principles. Otherwise an example that makes it yield 0 Yes/No. Yes/No. x>011-x >= 0Explanation / Answer
1) 01010 0101010
exponent = 01010 = 10(in decimal) = 10-15 (substracting the bias) = -5
fractional part = 0101010
Thus number = 1.0101010 * 2-5
00000 0101010
exponent = 00000 = 0(in decimal) = 0-15 (substracting the bias) = -15
fractional part = 0101010
Thus number = 1.0101010 * 2-15
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.