Question: Exercise #1 [24pts]: Memory Layout Consider the following .data segment: A dd 011111b B dw -27, -1 C dd -34o D db a, 0, z,
Exercise #1 [24pts]: Memory Layout
Consider the following .data segment:
A dd 011111b B dw -27, -1 C dd -34o D db "a", 0, "z", 27o E db 043h, 00b, 0AAh F dw 043AAh
Question #1 [18pts]
Show the contents of the memory bytes starting at address A, in hex, on a machine that uses Little Endian. Indicate labels as well. For instance, a (wrong) answer could look like:
A B C ... FF FF FA 02 03 06 ...
Question #2 [6pts]:
For each of the 6 labels, indicate whether it would lead to a different in-memory byte order on a Big Endian machine.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
