Debug-microprocessor, Assembly Language

Using DEBUG

DEBUG.COM is a DOS efficacy that facilitates the trouble-shooting and debugging of assembly language programs. In particular case of personal computers, all of the resources, processor and memory resource management functions are carried out by the operating systems. Therefore, users have very little control on the computer hardware at lower levels. The DEBUG efficacy enables you to have the control of these resources up to some extent. In the easier, rather then, basic words, the DEBUG enable you to use the personal computer as a low level microprocessor kit.

375_debug1.jpg

The DEBUG command at DOS prompt invokes this facility. A '_' (dash) display signals the successful invoke  operation of DEBUG, further that is used as DEBUG  prompt for debugging  commands. Following command line, DEBUG prompt and the DEBUG command character display describe the DEBUG command entry procedure, as in  given Figure.

A valid command is accepted by using the enter key. The list of typically used valid commands of DEBUG is given in Table namely DUBEG command along with their respective syntax.

The program DEBUG can be used either to debug a source program or to view the results of execution of an .EXE file with the help of the .LST file and the above commands.  The .LST file indicates the offset address allotments for result variables of a program in the   specific segment. After the execution of the program is completed the offset address of the result variables can be observed by using the d command. The results available in the registers may be view by using the r command. So the DEBUG offers a reasonably good platform for trouble-shooting executing and observing the results of the assembly language programs. Here one should remember that the DEBUG is able to only trouble-shoot the .EXE files.

1645_debug2.jpg

Posted Date: 10/12/2012 7:30:08 AM | Location : United States







Related Discussions:- Debug-microprocessor, Assignment Help, Ask Question on Debug-microprocessor, Get Answer, Expert's Help, Debug-microprocessor Discussions

Write discussion on Debug-microprocessor
Your posts are moderated
Related Questions

Execution Unit (EU) and Bus Interface Unit (BIU) : 8086 consist of two processors called EU and BIU. Two Processors can work parallel. This improves speed of execution. BIU fi

Cache Memory Caching is a technology based on the memory subsystem of any computer. The majoraim of a cache is to accelerate the computer while keeping the cost of the computer

Machine Level Programs In this section, a few machine levels programming instance, rather then, instruction sequences are presented for comparing the 8086 programming with that

NASM assembly language program: Consider a sequence of 19 strictly positive decimal digits, most likely stored in an array. There are obviously duplicates, and the sequence is un

Entering a Program In this section, we will explain the procedure for entering a small program on IBM PC with DOS operating system. Assume a program of addition of 2 bytes, as

The main objective of the assignment is to explore the knowledge regarding parallel ports of a computer system. You can read and write datato/from the parallel port using IN and OU

Pin functions for the minimum mode operation of 8086 are following: 1) M/I/O -Memory/IO: This is a status line logically equivalent to S2 in maximum mode. When it is low, it


assempbly language routine that takes an array named A containing n bytes of postive numebrs and fills two arranys, array B containing n words and array C containing n long words