- #1
mathmari
Gold Member
MHB
- 5,049
- 7
Hey!
I am looking at the following but I haven't really understood the exercise statement. Could you explain that to me? :unsure:When the memory of a computer system is addressed by bytes, the storage of an information unit larger than one byte can be done in one of the following ways:
a) The most important digit is placed first in memory (big end - big endian)
b) The least important bit is placed first in the memory (little endian)
For example, the number of 32 bits 0x891af024 (the "0x" indicates hexadecimal representation) is stored in the first order in the order of 0x89, 0x1a, 0xf0 and 0x24, while in the second way it is stored in the reverse order of bits.
Consider the following memory fragment of a computer system, in ascending addresses, where addressing is done per bit:
Find what this layout represents in the following cases of information:
a) An integer of 64 bits in the big end series.
b) Two consecutive integers of 32 bits size in a small end row.
c) A fixed-point number with 24 integers and 40 fractional digits in a small end row.
d) One real (floating point) according to IEEE 754 standard of 64 bits in the big end series.
e) Two consecutive real (floating point) according to IEEE 754 standard of 32 bits in a small end series.
g) A real (floating point) where the most important digit is the sign of the number, the 15 most important digits after the sign is the exponent in a complement expression in relation to 2, and the rest is the measure of the coefficient, normalized with an implied integer unit in a small end series.
h) A string encoded based on the ASCII standard.
I am looking at the following but I haven't really understood the exercise statement. Could you explain that to me? :unsure:When the memory of a computer system is addressed by bytes, the storage of an information unit larger than one byte can be done in one of the following ways:
a) The most important digit is placed first in memory (big end - big endian)
b) The least important bit is placed first in the memory (little endian)
For example, the number of 32 bits 0x891af024 (the "0x" indicates hexadecimal representation) is stored in the first order in the order of 0x89, 0x1a, 0xf0 and 0x24, while in the second way it is stored in the reverse order of bits.
Consider the following memory fragment of a computer system, in ascending addresses, where addressing is done per bit:
Find what this layout represents in the following cases of information:
a) An integer of 64 bits in the big end series.
b) Two consecutive integers of 32 bits size in a small end row.
c) A fixed-point number with 24 integers and 40 fractional digits in a small end row.
d) One real (floating point) according to IEEE 754 standard of 64 bits in the big end series.
e) Two consecutive real (floating point) according to IEEE 754 standard of 32 bits in a small end series.
g) A real (floating point) where the most important digit is the sign of the number, the 15 most important digits after the sign is the exponent in a complement expression in relation to 2, and the rest is the measure of the coefficient, normalized with an implied integer unit in a small end series.
h) A string encoded based on the ASCII standard.
Last edited by a moderator: