[Assembly language] DOSBox DEBUG command

Insert picture description here
Insert picture description here
The D command displays the content of the main memory unit:
Insert picture description here
d displays the current (the last address displayed by the previous D command) the main memory content

The e command is used to modify the main memory content:
Insert picture description here

Register command r:
Insert picture description here
Only input r will display the values ​​of all registers.

r

Input r register name will display the value of the register

r ax

Insert picture description here
: The value of this register can be modified later

When the assembly command a is
Insert picture description here
only input a, then start from the last unit of the previous a command, if the a command has not been used, start from the current cs:ip

a

When inputting an address, start writing commands from this address

a 0100

Insert picture description here
The disassembly command u
Insert picture description here
u command does not specify an address, starting from the last unit of the previous u command, if u command has not been used, starting from the current CS:IP

u

u command to specify the address

u 0106

Insert picture description here

The trace command t
Insert picture description here
t command does not specify an address, it will start from the previous command, and the first execution starts from CS:IP

t

t command to specify the address

t=0100

t command specifies the address and value

t=0100 2

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_48180029/article/details/115346483
Recommended