Win10下汇编语言环境的搭建

*下载安装Dosbox:http://www.dosbox.com/download.php?main=1
*下载masm编译器
链接:https://pan.baidu.com/s/11yMIJqHL0GyDujmYhbeiGQ 密码:shc0
解压后将需要编译的文件放masm文件夹里,这样编译方便一些
*找到DOSBox的安装目录(例如:C:\Program Files (x86)\DOSBox-0.74)
记事本打开DOSBox 0.74 Options.bat
在最后可以看到以下:
[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
在这里加上:
mount c c:\masm
c:

这样以后直接输入masm就可以编译了

猜你喜欢

转载自blog.csdn.net/lk634839618/article/details/80628472