5. 5. Consider a 32-bit hexadecimal number stored in memory as follows: 1. a) If the machine...

Question:

5. 5. Consider a 32-bit hexadecimal number stored in memory as follows:

image text in transcribed

1.

a) If the machine is big endian and uses two’s complement representation for integers, write the 32-bit integer number stored at address 100 (you may write the number in hex).
2.

b) If the machine is big endian and the number is an IEEE single-precision floating-point value, is the number positive or negative?
3.

c) If the machine is big endian and the number is an IEEE single-precision floating-point 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 two).
4.

d) If the machine is little endian and uses two’s complement representation for integers, write the 32-bit integer number stored at address 100 (you may write the number in hex).
5.

e) If the machine is little endian and the number is an IEEE single-precision floating-point value, is the number positive or negative?
6.

f) If the machine is little endian and the number is an IEEE single-precision floating-point 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 two).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: