DEBUG.EXE Command Instructions
DEBUG
a Instruction for writing assembly language program, where sta is the starting address
c sta end sta2 Compare two memory units, where sta is the starting address of the first memory unit, end is the ending address of the first memory unit, and sta2 is the starting address of the second memory unit
c sta lnn sta2 Compare two memory units, where sta is the starting address of the first memory unit, lnn is the length to be compared, and sta2 is the starting address of the second memory unit
d Display the specified range of memory units to the screen (sta: start, end: end)
d Display the specified range of block memory units to the screen (sta: start, lnn: length)
e Modify the data of one byte in the memory unit, where sta is the address
e Modify the data of one byte in the memory unit, where data is the new data
g Execute the program until the end address (end) or the program ends
g=sta Execute from the starting address (sta) until the end (end) or the program ends
r Display all memory contents or modify the value of a specified memory (reg)
t Execute step by step, where num specifies the number of steps executed at one time (default 1)
t=sta Execute step by step, starting from sta, where num specifies the number of steps executed (default 1)
n filename Name the currently editing or debugging file
w Save the file, write cx bytes of data to the file name specified by n
w sta dri sec num Write the data at sta to the sec sector of the dri disk, writing num sectors in total
l Load the file, read the data of the file name specified by n into the sta address
l sta dri sec num Read the data of the sec sector of the dri disk into sta, reading num sectors in total
q Exit debug and return to DOS
u Disassemble from sta to end
u Disassemble from sta, disassembling lnn bytes in total
m sta end sta2 Move the data of the first memory unit to the second memory unit
m sta lnn sta2 Move the data of the first memory unit to the second memory unit
f sta end data Store a segment of data (data) in a specified memory unit area
f sta lnn data Store lnn bytes of data in a specified memory unit area
s sta end data Search for data in the specified address, where data is of unlimited length
s sta lnn data Search for data in the specified address, where data is of unlimited length
h data data2 Calculate the sum and difference of two data and display them on the screen
i inport Input a byte from the input port and display it
o outport Output a byte value from the output port
[ Last edited by zzz19760225 on 2017-11-29 at 00:45 ]
1<词>,2,3/段\,4{节},5(章)。