In this laboratory was the introduction and recognition of commands from one of the utilities MS-DOS called Debug The application was entered through the window of MS-DOS command and type in the symbol ? to see the description of the debug commands.
Visualized registers internal to the command D and was assigned as a test values and characters using decimal code ASCII to others with E.
The Debug is a utility for MS-DOS that displays memory introduce programs on it and trace its execution. A debug feature is that it displays all the code program in hex.
It is important to know that many uses of such low-level utilities require a stand-alone operation ie outside an OS multi-user as they encapsulate and hide many aspects of the hardware .
Displays the contents of a memory location in hexadecimal and ASCII. Without parameters shows the first 128 bytes from the position he reached in the last d. If given a range show that range.
Edit byte by byte, a memory area. Sign-in hex-byte that position and allows you to write another value to change. Pressing space goes to the next byte leaving was the last if not changed or saving changes if yes it has. To finish editing press Enter.
Without parameters displays the contents of the records of the CPU and the next instruction to execute. R [LOG] shows the contents of the specified record and change the prompt of a inviting you change value. Pressing Enter without leaving it as it was.
Without joining parameters entering instructions and keep them at the following address to which came in the last a. When using this command can be given as a parameter the address where you want to begin the assembly if the parameter is omitted the assembly will start at the location specified by CS IP usually 0100h which is the location where they should start extension programs. COM and will use the location because debug can only create this specific type of programs.
![]()



Reply With Quote
Copyright Techfuels
Bookmarks