Question: Use the following data definitions for questions 2a, and 2b. myBytes BYTE 10h, 20h, 30h, 40h myWords WORD 8Ah, 3Bh, 72h, 44h, 66h myDoubles DWORD
Use the following data definitions for questions 2a, and 2b.
myBytes BYTE 10h, 20h, 30h, 40h
myWords WORD 8Ah, 3Bh, 72h, 44h, 66h
myDoubles DWORD 1, 2, 3, 4, 5
myPointer DWORD myDoubles
a. Find the values of the following registers
mov esi, OFFSET myBytes
mov al, [esi] ; al = ____
mov al, [esi + 3] ; al = ____
mov esi, OFFSET myWords + 2
mov ax, [esi] ; ax = ____
mov edi, 8
mov edx, [myDoubles + edi] ; edx = ____
mov edx, myDoubles[edi] ; edx = ____
mov ebx, myPointer
mov eax, [ebx + 4] ; eax = ____
b. Find the values of registers
mov esi, OFFSET myBytes
mov ax, [esi] ; ax = ____
mov eax, DWORD PTR myWords ; eax = ____
mov esi, myPointer
mov ax, [esi + 2] ; ax = ____
mov ax, [esi + 6] ; ax = ____
mov axm [esi - 4] ; ax = ____
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
