Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

is alloT .Make sare to justity all answers-shem all merhClosed bhook and notes-shatshet 18 points) Use the following data declarations. Assume that the offset of

image text in transcribed
is alloT .Make sare to justity all answers-shem all merhClosed bhook and notes-shatshet 18 points) Use the following data declarations. Assume that the offset of wordVal is 00000000h: and calcilators I. data wordVal word 1000h,2000h,3000h,4000h dwordVal dword 11112222h, 12341234h, 12345678h pntr dword dword Val Show the value of the Jinal destination operand after each of the following code fragments has executed f any instruction's is invalid, indicate "INV" as the answer and briefly explain why) a. mov esi,3 inc esi mov ax, [wordVal+esi] answer ax- b. mov ax, [wordVal+6 xchg ax, [wordVal+4] mov [wordVal+61, ax answer ax wordVal+6 c. mov eax, 11223344h mov esi,offset dwordVal +8 answer eax- mov eax,(esi] esi- d. mov edi.pmtr ebx- answer add edi,4 mov ebx,[edi mov al, byte ptr [dwordVal +6] mov bx, word ptr [dwordVal +10] e. answer al- 2. 12 points] What will be the final value of eax and ecx after this code executes? count dword? mov eax,3 mov ecx,I LI: mov count,ecx mov ecx,2 L2: add eax,2 dec ecx loop L2 mov ecx,count loop Ll

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

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899