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

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

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 the Knowledge Base.
Last modified on 2018-01-18 10:09:21.