hes@ecsvax.UUCP (Henry Schaffer) (01/01/86)
(Corrections, suggestions and comments are requested. --henry schaffer)
For compact reference format, print at 132 char/line, 8 lines/inch, and attach
side by side, lining up using the dotted lines.
--------------------------------------------------------------------------------
DEBUG SUMMARY ver 0.4 HES 12/85
NCSU
INVOCATION: DEBUG [filespec] [parm1] [parm2]
COMMAND SUMMARY
Name Format Comments - (default register(s))
Assemble A[address] Default: starts at 100. (CS)
Compare C range address Second address in range uses offset only. (DS)
Dump D[{address|range}] Default: starts at 100 or after last D. (DS)
Enter E address [list] With no list enter 1-2 hex chars after prompt;
space bar to advance, - to back up.
Enter key to end command. (DS)
Fill F range list Reuses list if list shorter than range. (DS)
Go G[=address] [address[address...]] Up to 10 breakpoints. (CS:IP)
Hexarithmetic H value value
Input I portaddress Displays byte read.
Load L[address[drive sector sector]] (CS)
Move M range address (DS)
Name N filespec [filespec]
Output O portaddress byte
Quit Q
Register R [registername] Default: shows all registers and flags.
Search S range list (DS)
Trace T[=address][value] Default: one instruction. (CS:IP)
Unassemble U[{address|range}] Default: starts at 100 or after last U.
Will complete last instruction. (CS)
Write W[address[drive sector sector]] BX, CX have no. of bytes. (CS)
^low order
Notes
Commands are case insensitive, given after the DEBUG "-" prompt.
Ctrl-Break to end a command.
Ctrl-Num Lock for No-Scroll (any other char to restart).
--------------------------------------------------------------------------------
PARAMETER DEFINITIONS
address [{seg reg|seg addr}:] offset
byte 1-2 hex chars
drive single digit 0 for drive A, 1 for B, etc. see Load, Write
filespec [drive:][path]filename[.ext] see Name
hex char 0 through 9, A through F (case insensitive)
list {byte|string} ...
offset value
portaddress value see Input, Output
range address{address | L value}
^offset ^for 10000 use 0
only
registername {AX|BX|CX|DX|SP|BP|SI|DI| (case see Register
DS|ES|SS|CS|IP|PC|F} insensitive)
sector sector really sector sectors(involved) see Load, Write
^value ^value (values 1-3 hex chars)
seg addr value
seg reg {CS|DS|ES|SS}
string char(s) in single or double quotes
can use opposite type within the other;
to use same type within - double it
value 1-4 hex chars
Notes
Commands and parameters may be adjacent, or separated by a blank or
comma. Consecutive hex values must be separated by a blank or comma.
[ ] item(s) enclosed are optional
{ | } choose one of the items
... repetition of the previous item allowed