Answered step by step
Verified Expert Solution
Question
1 Approved Answer
EECE 3 4 3 5 Lab 0 1 : DOS Debug A . Objectives: to get familiar with the debug program and use the debug
EECE Lab : DOS Debug
A Objectives: to get familiar with the debug program and use the debug commands to examine registers and memory contents.
B Resources
Online resources
Textbook
C Lab Preparation
Read online guide or textbook to understand the debug commands used in the assignment.
Start the Debug Application.
Search "dos" for the DOSBox application;
Start the DOSBox application;
Execute "mount c c:ldebug";
Execute c:;
Execute "debug".
Note that in the lab report you will be required to show the results you obtained in your experiments. You thus need to take screenshots of your work.
D The Lab
You will practice some commands useful in debug, such as the dump, enter, and fill commands.
First, execute the following command to fill the memory with some data:
f ffff ac cb fe d f e
Execute the command to examine the contents of registers.
You can change the value of a register by doing the following.
IP
IP
Now you can enter a new value for the IP register after the prompt.
Display and modify memory contents.
Use the command to dump display the memory contents from the data segment.
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