Answered step by step
Verified Expert Solution
Question
1 Approved Answer
FORMAT Closed Book, Closed Notes; Individual Work Only. There are a total of 100 points on the exam. Be sure to SHOW ALL WORK! (16)
FORMAT Closed Book, Closed Notes; Individual Work Only. There are a total of 100 points on the exam. Be sure to SHOW ALL WORK! (16) 1.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 just 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 (????) (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 10100111b, 2, 7, -2, -3, 0Fh mydata sdword 2ED85C31h, 10, 5, llh, 01101001b, -3 .code proc int mov mov mov mov mov mov main esi, offset mydata+8 edx, [esi] cl, mystuff+3 ch, mystuff ax, OFEFOh ebx, 2 ah al, 17 dword ptr [esi-4) dh, mystuff+4 ebx, mydata+8 add inc add sub What are results at this point? main end exit endp main FORMAT Closed Book, Closed Notes; Individual Work Only. There are a total of 100 points on the exam. Be sure to SHOW ALL WORK! (16) 1.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 just 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 (????) (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 10100111b, 2, 7, -2, -3, 0Fh mydata sdword 2ED85C31h, 10, 5, llh, 01101001b, -3 .code proc int mov mov mov mov mov mov main esi, offset mydata+8 edx, [esi] cl, mystuff+3 ch, mystuff ax, OFEFOh ebx, 2 ah al, 17 dword ptr [esi-4) dh, mystuff+4 ebx, mydata+8 add inc add sub What are results at this point? main end exit endp main
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started