Using the Debug Program: Difference between revisions

From docs
Jump to navigation Jump to search
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..."
(No difference)

Revision as of 16:15, 19 February 2022

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