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
HELLO I AM TRYING TO ADD AND SUBTRACT BUT I SEEM CAN''T FIND THE CORRECT REGISTER TO PUT IN

INT N : Interrupt Type N:- In the interrupt structure of 8086/8088, 256 interrupts are distinct equivalent to the types from OOH to FFH. When an instruction INT N is executed,

LDS/LES Instruction execution :  LAHF : Load AH from Lower Byte of Flag: - This instruction loads the AH register with the lower byte of the flag register. This instruction ca

You are to write an assembly language program called subfaq.s that computes the generalized subfactorial function of nonnegative integer inputs i0 and n. The generalized subfactori

#question.flow chart for a program to find out the number of even and odd numbers from a given series of 16-bit hexadecimal numbers.

Program: Write a program to perform addition of a series of 8-bit numbers. The series have 100 (numbers). Solution : In the first program, we have been implemented the add

Interrupt When the CPU detects an interrupt signal, it stops activity of current and jumps to a special routine, known an interrupt handler. This handler then detects why the i

How can i starting with Assembly langauge?

Project Overview In this series of projects you will write a compiler for a small subset of Pascal.  In this assignment, you will start writing the syntax analysis and code gen

Write a program to evaluate the following expression. You are to evaluate the following equation: num1 - (input + num2) - (num3 + num4) Input will be a hex number input by