64位windows7使用debug的方法

本文介绍如何通过DOSBox模拟器及Windows 7 32位下的debug程序来搭建汇编语言调试环境。具体步骤包括下载DOSBox与debug工具、安装配置DOSBox并设置虚拟驱动器映射等。文章还提供了mount命令的详细用法,帮助读者更好地管理和调试汇编程序。
建议直接下载emu 8086 v4.08。
(1)下载dos模拟器dosbox。
下载地址: http://www.dosbox.com/download.php?main=1
(2)下载Windows 7 32位的debug程序。

下载地址:http://u.115.com/file/b3mmegwu,可以下载,也可以到安装了32位windows7的计算机上进行拷贝。

注意:进行下一步操作之前,必须先将下载的debug.exe先复制到分区D根目录下。如果童鞋们对于“文件路径”这个概念比较清楚,就不存在神马“必须”这样的说法了,你可以自由选择存放debug.exe以及汇编程序开发环境的位置,只需要在使用dosbox的mount命令是指定存放位置即可!mount命令的使用说明参见文末的参考资料。

(3)安装dosbox,完成以后,双击快捷方式进入dos界面。64位windows7使用debug的方法 - wu - x86 PC
(5)在命令提示符后输入mount c d:

64位windows7使用debug的方法 - wu - x86 PC

(6)在命令提示符后接着输入c:

64位windows7使用debug的方法 - wu - x86 PC

(7)接下来,就可以使用Debug了。

如果在使用debug跟踪、调试过程中出现找不到文件等问题,注意mount命令中指定的路径是否正确。

64位windows7使用debug的方法 - wu - x86 PC

(8)参考资料
dosbox中mount命令的使用说明

MOUNT.COM is a command inside DOSBox that can connect physical folders and drives to virtual drives inside DOSBox. The mounted drive does not automatically refresh files changed out side of DOSBox. You can refresh these files on all mounted drives by activating the Swap Image event (Hot key: Ctrl F4) to have access to changed files automatically when, for example, the drive is mapped as a floppy.

When you enter the command MOUNT from the DOSBox prompt you should see:

Z:\>MOUNT Current mounted drives are: Drive Z is mounted as Internal Virtual Drive

To mount a folder as a drive, follow this basic template:

MOUNT [Drive-Letter] [Local-Directory]

The local directory can be specified relative to the working directory from which DOSBox was started.

To unmount a drive, follow this basic template:

MOUNT -u [Drive-Letter]
Usage Examples
Windows
Mounting the working directory from which DOSBox was started
Z:\>MOUNT C .
Mounting a specific folder from your hard drive
Z:\>MOUNT C C:\DOSGAMES
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值