192k views
1 vote
Assume you have a byte-addressable machine that uses 32-bit word (integers are 32-bit) and you are storing the following information: the string Inventory followed by a value (569)10 followed by another string Price followed by a value (49.75)10. Also, assume that floating point numbers are stored as single-precision IEEE 754 with 127 excess. a) Show (as hex numbers with word boundary) how this is stored on a big-endian machine. b) Show (as hex numbers with word boundary) how this is stored on a little-endian machine.

User Paperduck
by
3.7k points

1 Answer

5 votes

Answer:

Internet protocol, IP address are 32- bit binary numbers.

Explanation: Each 32- bit is represented in 4- 8 bits segments

a) 10,11,13,14, 0,0,10,13, 0,11,12,13, 11,12,13,14, 0,0,0,11, 0,0,13,14, 10,12,13,14, O,10,13,14

b)

User Deevee
by
4.4k points