Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Demystifying Databases A Hands On Guide For Database Management

Authors: Shiva Sukula

1st Edition

8170005345, 978-8170005346

More Books

Students also viewed these Databases questions

Question

9. Describe the characteristics of power.

Answered: 1 week ago