Common debug commands
1,
-Q: quit running.ProgramCommand
2,
-U disassembly display command
-U Cs: 100 disassembly from the specified position
-U 100 is equivalent to u Cs: 100. CS is the default segment register.
-U Cs: 100 130 disassembly of specified range
-U Cs: 100 L10 disassembly of the specified length
3,
-D command for displaying memory unit content
-D ds: 10 displays the content of the storage unit in the memory zone starting from the specified position.
-D Cs; 100 display the memory zone of the current segment
4,
-G executes the program from the current Cs: IP address location
-G = cs: 100 entertain programs from a specified location
-G = 100 is equivalent to G = cs: 100. CS is the default value.
-G 200 is executed from the current position and set 200 to a breakpoint
-G = 0 10 20 run from CS: 0, 10, 20 is two breakpoints
5,
-T execute a command from the current Cs: IP Address
-T 3: Execute 3 commands from the current Cs: IP Address
-T = cs: 10 execute one command from CS: 10
-T = 10 is equivalent to T = cs: 10. CS is the default value.
6,
-P,-P3,-P = cs: 10,-P = 10 is similar to the T command, but the subroutine is treated as a command in the subroutine
Stop after execution
7,
-A Assembly command. Input Assembly statements from the specified address and compile them into machines.CodeSequential Storage
In the specified memory
-A is compiled from the current Cs: IP Address
-A 10,-a CS: 10 start from CS: 10
8,
-I read the content of the specified port
-I 21 read and display the content of port 21h
9,
-O writes data to the specified port
-O 21 00 writes 00 h to port 21h
10,
-? Display Debug Command Format