Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

ARCHIVED: What are the commands for the DOS Debug program?

The following is a list of DOS Debug commands:

? Displays a list of debug commands
a Assembles 8086/8087/8088 mnemonics
c Compares two portions of memory
d Displays the contents of a portion of memory
e Enters data into memory starting at a specified address
f Fills a range of memory with specified values
g Runs the executable file that is in memory
h Performs hexadecimal arithmetic
i Displays one byte value from a specified port
l Loads the contents of a file or disk sectors into memory
m Copies the contents of a block of memory
n Specifies a file for an  l  or  w  command, or specifies the parameters for the file you are testing
o Sends a single byte value to an output port
p Executes a loop, a repeated string instruction, a software interrupt, or a subroutine
q Stops the Debug session
r Displays or alters the contents of one or more registers
s Searches a portion of memory for a specified pattern of one or more byte values
t Executes one instruction and then displays the contents of all registers, the status of all flags, and the decoded form of the instruction that Debug will execute next
u Disassembles bytes and displays the corresponding source statements
w Writes the file being tested to a disk
xa Allocates expanded memory
xd Deallocates expanded memory
xm Maps expanded memory pages
xs Displays the status of expanded memory

For more information about using DOS commands, at the DOS prompt, enter: HELP

This is document afhs in domain all.
Last modified on November 01, 2008.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.