Question: 7 [ NL 6 5 - 5 ] Consider a 3 2 - bit hexadecimal number stored in memory as follows: Address 1 0 0

7
[NL65-5]
Consider a 32-bit hexadecimal number stored in memory as follows:
Address 100101102103 Value 2A C2081B
8
a)If the machine is big endian and uses 2s complement representation for integers, write the 32-bit integer stored at address 100(you may write the number in hex.)
b)If the machine is big endian and the number is an IEEE single-precision floating-point value, is the number positive or negative?
c)IfthemachineisbigendianandthenumberisanIEEEsingle-precisionfloatingpointvalue, determine the decimal equivalent of the number stored at address 100(you may leave your answer in scientific notation form, as a number times a power of 2).
d)If the machine is little endian and uses 2s complement representation for integers, write the 32-bit integer stored at address 100(you may write the number in hex.)
e)If the machine is little endian and the number is an IEEE single-precision floating-point value, is the number positive or negative?
f)If the machine is little endian and the number is an IEEE single-precision floatingpoint value, determine the decimal equivalent of the number stored at address 100(you may leave your answer in scientific notation form, as a number times a power of 2).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!