Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how would i explain each line? we are using the assembly language please help me Line number: 16 Instruction: mov eax, arrayD Register values: EAX

how would i explain each line?

we are using the assembly language please help me

Line number: 16

Instruction: mov eax, arrayD

Register values: EAX = 00010000, EBX = 01148000,

ECX = 00241005, EDX = 00241005,

ESI = 00241005, EDI = 00241005,

EIP = 00241015, ESP = 012FF85C,

EBP = 012FF868, EFL = 00000246

0x00244004 = 00020000

Explanation:?

Line number: 17

Instruction: mov ebx, [array+4]

Register values: EAX = 00010000, EBX = 00020000,

ECX = 00241005, EDX = 00241005,

ESI = 00241005, EDI = 00241005,

EIP = 0024101B, ESP = 012FF85C,

EBP = 012FF868, EFL = 00000246

0x00244008 = 00030000

Explanation: ?

Line number: 18

Instruction: mov edx, [arrayD+8]

Register values: EAX = 00010000, EBX = 00020000,

ECX = 00241005, EDX = 00030000,

ESI = 00241005, EDI = 00241005,

EIP = 00241021, ESP = 012FF85C,

EBP = 012FF868, EFL = 00000

Explanation: ??

image text in transcribed

image text in transcribed

Debug through each line of your code. o Execute the instruction o Take a screenshot of the code and register window o Record the line number, instruction, Register values in the answer sheet. Also, add the screenshot Then explain the register contents. Data Transfer Instructions: Direct-Offset Addressing Create a new Project to run the following program. Build and run the program using the debugger Examine the content of the registers .data arrayD DWORD 10000h,20000h, 300001 .code Direct-Offset Addressing (doubleword array): mov eax array : EAX = mov ebx (arrayD+4) EBX = mov edx (arrayD+8] : EDX = del fat, stall stack Exit Process Photo, Code DORO Direct-offset Missing array ww, Car ne tirocess, IND Debug through each line of your code. o Execute the instruction o Take a screenshot of the code and register window o Record the line number, instruction, Register values in the answer sheet. Also, add the screenshot Then explain the register contents. Data Transfer Instructions: Direct-Offset Addressing Create a new Project to run the following program. Build and run the program using the debugger Examine the content of the registers .data arrayD DWORD 10000h,20000h, 300001 .code Direct-Offset Addressing (doubleword array): mov eax array : EAX = mov ebx (arrayD+4) EBX = mov edx (arrayD+8] : EDX = del fat, stall stack Exit Process Photo, Code DORO Direct-offset Missing array ww, Car ne tirocess, IND

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

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

0262660709, 978-0262660709

More Books

Students also viewed these Databases questions