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:
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).
Step by Step Answer:
Essentials Of Computer Organization And Architecture
ISBN: 9781284123036
5th Edition
Authors: Linda Null, Julia Lobur