Assembly-language: Debug

Xx_Introduction

Used debug command check our CPU and memory.
function:

Ax_Prepare step

Aboval all,download DOSBox.
DOSBox:https://www.dosbox.com/download.php?main=1

Secondly,download debug.exe

Bx_Configuration

Used notepad open DOSBox 0.74 Option.bat,Enter following content:

MOUNT C C:\MYDEBUG
C:
debug

Cx_Movement

Get debug.exe to C:\MYDEBUG

Dx_Run

run DOSBox 0.74 Options.bat

Ex_Run

run DOSBox.exe
input

Z:\>MOUNT C C:\MYDEBUG
Z:\>C:
C:\>debug

-r

-dds:0

-r AX

Fx_Modify number

-r IP
200
equal to assembly command:
INC AX;

Dx_Display memory content

-d 1000:0

猜你喜欢

转载自www.cnblogs.com/enomothem/p/12459677.html