03-12-2012, 05:49 PM
STUDY EXPERIMENT DEBUG commands
STUDY EXPERIMENT.doc (Size: 46 KB / Downloads: 20)
Execution of various debug commands.
Explanation:
DEBUG is a utility program that allows a user to load a Pentium program into memory and execute it step by step. DEBUG displays the contents of all processor registers after each instruction executes, allowing the user to determine if the code is performing the desired task. DEBUG only displays the 16-bit portion of the general purpose registers. It contains commands that can display and modify memory, assemble Pentium instructions, load registers with data etc.
Debug loads into memory like any other program, in the first available slot. The memory space used by DEBUG for the user program begins after the end of DEBUG's code.
COMPILATION & EXECUTION PROCESS:
1 Start from editor (DOS EDIT COMMAND).
2 Construct source program from given algorithm.
3 Compile source code
C:\TASM>TASM FILENAME.ASM
It will generate OBJ .LST & .XRF files successfully.
4 Then Execute .OBJ file