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
Explain the basic method for implementing paging

what is the hex value in ax after executing the instructions ax= 1E8A bx=4080 add al,bl sub ah,bh


Request a depreciation of the item, year of purchase, cost of item, number of years to be depreciated (estimated life ) and,the method of depreciation . Method of depreciation sh

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

Write a program that will input a number from the keyboard, and then display the number in binary form, as well as the number of one's in the number. Hint: Shift the value left (or

Prime Finder - assembly program: Problem:  Prime Finder   In this problem you will write a small program that tests whether a given integer is a prime number or not.  Let's

DAS: Decimal Adjust after Subtraction:- This instruction converts the result of subtraction operation of 2 packed BCD numbers to a valid BCD number. The subtraction operation has

What is the hex for + and - under with a sum involved

This is a short program to practice assembly language loops and if/else statements. You will use various jump commands and the cmp instruction. The program will generate a random