Question: ASSEMBLY QUESTION For each definition show how the values will be stored. Assume that Val1 has an offset of 0000h in the Data segment 1000.
ASSEMBLY QUESTION
For each definition show how the values will be stored. Assume that Val1 has an offset of 0000h in the Data segment 1000. The answers should be written in hex form and should be stored in the memory diagram below.


UPDATE = LITTLE ENDIAN IS NEEDED
I got values but I want to see if they're right.

(a) Val1 DB 10h Val2 DW 10h Val3 DD 10h (b) Vali byte 10h, 20h, 30h, 40h Val2 word 1020H, 3040H Val3dword 10203040h (c) Vall DD 12345678H, 09ABCDEFG Val2 WORD OFEDCH, OBAH, 9 (a) (b) Address (h) 1000:0000 1000:0001 1000:0002 1000:0003 1000:0004 1000:0005 1000:0006 1000:0007 1000:0008 1000:0009 1000:000A 1000:000B 1000:000C 1000:000D 1000:000E 1000:000F (a) 78 56 10 20 30 40 20 34 12 CD Address (h) 1000:0000 10 1000:0001 10 1000:0002 00 1000:0003 10 1000:0004 00 1000:000500 1000:0006 00 1000:000700 1000:0008 00 1000:0009 00 1000:000A 00 1000:000B 00 1000:000C 00 1000:000D 00 1000:000E 00 1000:000F 00 FE BA 00 00 00 00 (a) Val1 DB 10h Val2 DW 10h Val3 DD 10h (b) Vali byte 10h, 20h, 30h, 40h Val2 word 1020H, 3040H Val3dword 10203040h (c) Vall DD 12345678H, 09ABCDEFG Val2 WORD OFEDCH, OBAH, 9 (a) (b) Address (h) 1000:0000 1000:0001 1000:0002 1000:0003 1000:0004 1000:0005 1000:0006 1000:0007 1000:0008 1000:0009 1000:000A 1000:000B 1000:000C 1000:000D 1000:000E 1000:000F (a) 78 56 10 20 30 40 20 34 12 CD Address (h) 1000:0000 10 1000:0001 10 1000:0002 00 1000:0003 10 1000:0004 00 1000:000500 1000:0006 00 1000:000700 1000:0008 00 1000:0009 00 1000:000A 00 1000:000B 00 1000:000C 00 1000:000D 00 1000:000E 00 1000:000F 00 FE BA 00 00 00 00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
