Question: The following Intel x86 assembly language program is assembled and linked using MASM and then traced using the Visual Studio debugger. At the conclusion of

 The following Intel x86 assembly language program is assembled and linked

The following Intel x86 assembly language program is assembled and linked using MASM and then traced using the Visual Studio debugger. At the conclusion of the program Gust before the exit statement is reached), what are the contents (in hexadecimal) of each of the following? Assume that variable data are loaded in memory beginning at location 00404000h; indicate any unknown register or memory contents with question marks (????) (16) 1. (b) the EBX register (e) the ESI register (c) the ECX register (f) the zero flag (a) the EAX register (d) the EDX register (g) the doubleword at memory location mydata+4 (h) the doubleword at memory location mydata+8 ; program for test 1, problem 1, 09/27/2017 include Irvine32.inc .data mystuff sbyte 1010011lb, 2, 7, -2, 3, 0Fh mydata sdword 2ED85C31h, 10, -5, 1lh, 01101001b, -3 .code mainproc int mov mov mov mov mov mov inc add inc add sub esi, offset mydata+8 edx, esi] cl, mystuff+3 ch, mystuff ax, 0FEFOh ebx, -2 al, 17 dword ptr [esi-4] dh, mystuff+4 ebx, mydata+8 ; What are results at this point? exit mainendp main end The following Intel x86 assembly language program is assembled and linked using MASM and then traced using the Visual Studio debugger. At the conclusion of the program Gust before the exit statement is reached), what are the contents (in hexadecimal) of each of the following? Assume that variable data are loaded in memory beginning at location 00404000h; indicate any unknown register or memory contents with question marks (????) (16) 1. (b) the EBX register (e) the ESI register (c) the ECX register (f) the zero flag (a) the EAX register (d) the EDX register (g) the doubleword at memory location mydata+4 (h) the doubleword at memory location mydata+8 ; program for test 1, problem 1, 09/27/2017 include Irvine32.inc .data mystuff sbyte 1010011lb, 2, 7, -2, 3, 0Fh mydata sdword 2ED85C31h, 10, -5, 1lh, 01101001b, -3 .code mainproc int mov mov mov mov mov mov inc add inc add sub esi, offset mydata+8 edx, esi] cl, mystuff+3 ch, mystuff ax, 0FEFOh ebx, -2 al, 17 dword ptr [esi-4] dh, mystuff+4 ebx, mydata+8 ; What are results at this point? exit mainendp main end

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!