Debug (command) - Syntax

Syntax

debug FileName ]

When Debug is started without any parameters the Debug prompt, a "-", appears. The user can then enter one of several one or two-letter subcommands, including "a" to enter the assembler mode, "d" to perform a hexadecimal dump, "t" to trace and "u" to unassemble (disassemble) a program in memory. Debug can also be used as a "debug script" interpreter using the following syntax.

debug < FileName

A script file may contain Debug subcommands and assembly language instructions. This method can be used to create or edit binary files from batch files.

Read more about this topic:  Debug (command)