Show how the following values will be stored in the table using Big Endian forma
ID: 3733141 • Letter: S
Question
Show how the following values will be stored in the table using Big Endian format
3456 at C300:001A
FE3456AB at C300:0000
A0095668 at C300:0010
1FEDCBA987654320 at C300:0020
Show how the following values will be stored in the table using Little Endian format
3456 at C300:001A
FE3456AB at C300:0000
A0095668 at C300:0010
1FEDCBA987654320 at C300:0020
Find what the hex values would be at the following addresses given the content shown below is stored using Little Endian format
One Byte value at C400:001E ________________________________
Word value at C400:0006 ___________________________________
Double Word value at C400:0018______________________________
Quad Word value at C400:0022 _______________________________
Find what the hex values would be at the following addresses given the content shown below is stored using Big Endian format
One Byte value at C400:001E ________________________________
Word value at C400:0006 ___________________________________
Double Word value at C400:0018______________________________
Quad Word value at C400:0022 _______________________________
Show the Hex respresentation in ACSII/UTF-8 of the following CET 140 Lab # 3 seems the longest ever !
Show the Hex respresentation in UTF-16 of the following CET 140 Lab # 3 seems the longest ever !
00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F C300:0000 - C300:0010 - C300:0020 -Explanation / Answer
1. Values stored in Big Endian Format :
In Big Endian format , first byte of hexadecimal number given will be stored first followed by second byte and so on.
Values stored in Little Endian format :
In Little Endian format , last byte of hexadecimal number given will be stored first followed by second last byte and so on.
3.
Given the table:
Using Little Endian format
One byte value at C400 : 001E -> 43
Word value at C400 : 0006 -> 3340
As it is in little endian format , 40 is stored first in memory then 33
Double word value at C400 : 0018 -> B3C32389
As it is in little endian format , 89 is stored first in memory then 23 then C3 then B3
Quad word value at C400 : 0022 -> 349A554516028932
4.
Using Big endian format :
One byte value at C400 : 001E -> 43
Word value at C400 : 0006 -> 4033
As it is stored in Big endian format 40 is stored first in memory then 33
Double word value at C400 : 0018 -> 8923C3B3
As it is stored in Big endian format B3 is stored first in memory then 06 then BC then 43
Quad word value at C400 : 0022 -> 3289021645559A34
00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F C300:0000 FE 34 56 AB - C300:0010 A0 09 56 68 - 34 56 C300:0020 1F ED CB A9 87 65 43 20 -Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.