MS-DOS Debug Commands
MS-DOS Debug Commands
assemble A [address]
compare C range address
dump D [range]
enter E address [list]
fill F range list
go G [=address] [addresses]
hex H value1 value2
input I port
load L [address] [drive] [firstsector] [number]
move M range address
name N [pathname] [arglist]
output O port byte
proceed P [=address] [number]
quit Q
register R [register]
search S range list
trace T [=address] [number]
unassemble U [range]
write W [address] [drive] [firstsector] [number]
Howtousethe
COMMANDS
Parameters
NOTE: Parameters listed in brackets ( [ ] ) are optional. Optional parameters usually
indicate there are a number of different ways that a command can be used. I've listed
the meanings of all the parameters here for you:
address - Memory location specified in hexadecimal. You can use either a simple
Offset all by itself (in which case, the present CS 'Code Segment' will be assumed), or
you can enter the full Segment:Offset location using either all hex numbers or
substituting the name of a segment register for a number. Leading zeros are not
required; thus 1F all by itself would be the location 'CS:001F' ( CS meaning whatever
the CS happened to be at the time you entered this ). Examples:
100 DS:12 SS:0 198A:1234
range - Two hexadecimal addresses separated by a single space. They may be listed
as either full Segment:Offset pairs or just an Offset alone ( in which case, the Segment
is assumed to be that of the present CS or "Code Segment" ). NOTE: Some
commands, such as Compare (C), may require that the second address be given only
as an offset.