Question: Notes: All of your work should be submitted using the appropriate link in Blackboard, While typed solutions are preferred, handwritten solutions are acceptable. However, your

Notes: All of your work should be submitted using the appropriate link in Blackboard, While typed solutions are preferred, handwritten solutions are acceptable. However, your handwritten work must be scanned and submitted electronically. Your submission must be in a single file. Archive files will not be accepted if you're scanning handwritten pages, combine all pages in a Word document or PDF file. This assignment is worth 100 points. Assume the initial state of an x86 processor's registers, memory, and carry flag are: EAX: 0x00003170 EBX: 0x9876DCBA Address Lo ECX: 0x00001995 0x8440 FF 03 99 87 EDX: OxAC921E14 Ox8444 08 09 F6 BB ESI: Ox00008440 Ox8448 78 15 00 00 CF: 0 What is the result of each of the instructions listed below? Assume that the instructions execute in sequence in other words, the result of each instruction may depend on the results of earlier instructions. Correctly evaluating each instruction will earn you 10 points. Note that you may assume any constant values shown using less than 32 bits are zero-extended to 32 bits if necessary (for example, 0x000F = 0x0000000F). ADD ADC INC SUB DEC IMUL IDIV DIV NEG AX, BX EAX, ECX WORD PTR [ESI] BYTE PTR (ESI+0x04] AX,[ESI+Ox08] AH AH DL DH AH Notes: All of your work should be submitted using the appropriate link in Blackboard, While typed solutions are preferred, handwritten solutions are acceptable. However, your handwritten work must be scanned and submitted electronically. Your submission must be in a single file. Archive files will not be accepted if you're scanning handwritten pages, combine all pages in a Word document or PDF file. This assignment is worth 100 points. Assume the initial state of an x86 processor's registers, memory, and carry flag are: EAX: 0x00003170 EBX: 0x9876DCBA Address Lo ECX: 0x00001995 0x8440 FF 03 99 87 EDX: OxAC921E14 Ox8444 08 09 F6 BB ESI: Ox00008440 Ox8448 78 15 00 00 CF: 0 What is the result of each of the instructions listed below? Assume that the instructions execute in sequence in other words, the result of each instruction may depend on the results of earlier instructions. Correctly evaluating each instruction will earn you 10 points. Note that you may assume any constant values shown using less than 32 bits are zero-extended to 32 bits if necessary (for example, 0x000F = 0x0000000F). ADD ADC INC SUB DEC IMUL IDIV DIV NEG AX, BX EAX, ECX WORD PTR [ESI] BYTE PTR (ESI+0x04] AX,[ESI+Ox08] AH AH DL DH AH
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
