How to use debug program under Windows 10?

I. Overview

You need to use the debug program when learning assembly language. Currently, the 64-bit operating system does not come with debug.exe, so you need to download the dosbox software to configure the use of the debug program.

Two, download dosbox

Search for dosbox in your browser to enter the official website and click download above.
Insert picture description here
After entering the following page, click on the white big letter DOSBox above, and then you will see the download option, and then click on download to automatically download the installation package, which should be more than one thousand KB. After the download is complete, run the exe file, click next all the way, select the installation path and install. After completion, the dosbox icon will be displayed on the desktop.
Insert picture description here
Insert picture description here

Three, download the debug file

Direct Internet Disk Link: After copying this content, open the Baidu Internet Disk App, which is more convenient for operation. Link: https://pan.baidu.com/s/1JsudsGy09WNNItpnZM8VrQ Extraction code: 3288

After downloading, you can create a new folder named debug, and put debug.exe into this folder.
Insert picture description here

Four, set the configuration

Double-click DOSBox0.74-2 Options.bat in the dosbox directory, it will open in text form, drag it to the end of the document, add the following two sentences, save and exit.
Insert picture description here

Fifth, double-click the desktop dosbox icon command line and enter debug to use it.

The following figure shows an example of the -r command.
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_45382733/article/details/112597079