Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
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.
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.
init_lcd ;(this initialises a 2 row lcd) bcf TRISA,0 ;PORTA bit 0 as an output (lcd RS pin) bcf TRISA,1 ;PORTA bit 1
check the al-register for palindromic number
General terms for Cache : Cache Hits : When the cache consisted the information requested, the transaction is said to be a cache hit. Cache Miss : When the cache does n
IRET : Return from ISR:- When an interrupt service routine is called, before transferring control to it, the IP, CS register and flag registers are stored in the stack to ment
8255 Programmable Peripheral Interface Intel's 8255 A programmable peripheral interface provides a nice instance of a parallel interface. As shown the interface have a control
Port Mapped I/O or I/O Mapped I/O I/O devices are mapped into a separate address space. This is generally accomplished by having a different set of signal lines to denote a mem
how to code
Software Interrupts Software interrupts are the result of an INT instruction in an executed program. It may be assumed as a programmer triggered event that immediately stops e
Introduction to Microprocessor: Microprocessor works like a CPU in a microcomputer. It's present as a single IC chip in a microcomputer. Microprocessor is the soul of the machi
Linking a program The DOS linking program LINK.EXE links the different object modules of function library routines and source program to produce an integrated executable code o
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd