Using the Debug Program

From docs
Revision as of 12:15, 19 February 2022 by Numberformat (talk | contribs) (Created page with "DOS comes with a program named DEBUG that is used for testing and debugging executable programs. It displays all program code and data in hex format. === Commands === * A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DOS comes with a program named DEBUG that is used for testing and debugging executable programs. It displays all program code and data in hex format.


Commands

  • A - Assemble symbolic instructions into machine code
  • D - Display the contents of an area of memory
  • E - Enter data into memory, beginning at a specific location
  • G - Run the executable program in memory
  • N - Name a program
  • P - Proceed, or execute a set of related instructions
  • Q - Quit the debug session
  • R - Display the contents of one or more registers
  • T - Trace the execution of one instruction
  • U - Unassemble machine code into symbolic code
  • W - Write a program into disk