Question
We need to use assembly language and visual studio 2019 we need to explain the content of the memory and register. Debug through each line
We need to use assembly language and visual studio 2019
we need to explain the content of the memory and register.
Debug through each line of instructions.
Take a screenshot that includes code and register window.
Record the register content.
and explain the register contents.
Line number:
Instruction:
Register / variable content:
Screenshot:
Explanation:
Line number:
Instruction:
Register / variable content:
Screenshot:
Explanation:
Line number:
Instruction:
Register / variable content:
Screenshot:
Explanation:
Line number:
Instruction:
Register / variable content:
Screenshot:
Explanation:
Line number:
Instruction:
Register / variable content:
Screenshot:
Explanation:
Checking Memory Data Problem 3: Write and run a program to find the values of a memory location and a register: .data dVal DWORD? .code See the next slides to find how data in memory are viewed . mov dVal,12345678h mov ax, WORD PTR dVal+2 add ax,3 ; dVal= mov WORD PTR dVal,ax mov eax,dVal ;EAX= Checking Memory Data Problem 3: Write and run a program to find the values of a memory location and a register: .data dVal DWORD? .code See the next slides to find how data in memory are viewed . mov dVal,12345678h mov ax, WORD PTR dVal+2 add ax,3 ; dVal= mov WORD PTR dVal,ax mov eax,dVal ;EAX=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