当前位置:网站首页>利用DOSBox运行汇编超详细步骤「建议收藏」
利用DOSBox运行汇编超详细步骤「建议收藏」
2022-07-02 16:17:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
最近学校要求用汇编写课设(本来复习的好好的,结果笔试取消),无奈只有配置环境自己写课设了。起初是利用VS2017进行配置,但后面运行好像有些问题,就想到用DOSBox了。以下是详细步骤:
第一步:下载好相关文件,文件我放在下面链接里: 资源文件 提取码:edtx
第二步,将masm文件夹里面所有文件放到一个特定的文件夹,比如我的f:\masm
第三步,安装DOSBox,里面有个压缩包,直接打开安装就行。
第四步,双击DOSBox文件夹下DOSBox 0.74 Options.bat文件,打开dos-box.conf文件,这里可以配置启动步骤,如下所示:
第五步,在打开的conf文件最后一行写入以下代码:
启动DOSBox后就会运行这两句话。第一行f:\masm视自己情况而定。
第六步,打开DOSBox,如下所示:
可以看到,刚打开时就运行了我们刚刚写入的两行代码,我已经事先在masm文件夹中放入了一个match.asm文件,这里可以直接运行。
第七步,输入masm match.asm,如下所示:
接着输入link match;这里一定一定要注意,一定要有分号,否则不能运行。
最后输入match:
最后是输出了一个Hello World,大功告成。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/148249.html原文链接:https://javaforall.cn
边栏推荐
- Huimang micro IO MCU ft60f11f-mrb
- Mb10m-asemi rectifier bridge mb10m
- MySQL advanced - transaction and index
- 把xshell连接服务器关掉,运行的jar包就自动停止的解决方案
- Many scenic spots are temporarily closed due to the typhoon. The provincial culture and tourism department reminds you to pay attention to safety!
- Alibaba cloud sub account - Permission Policy - full control permission granted to an account and an OSS bucket
- Wasserstein slim gain with clipping penalty (wsgain-cp) introduction and code implementation -- missing data filling based on generating countermeasure network
- 应广单片机开发流程需要注意哪些?
- D constructor problem
- WPS inserts a picture and displays it completely
猜你喜欢
Virtual lab basic experiment tutorial -7 Polarization (1)
Develop a controller that prohibits deleting namespaces
Edgenext hit a mixed punch: a lightweight architecture integrating CNN and transformer
Virtual lab basic experiment tutorial -7 Polarization (2)
wps插入图片后使图片完整显示
Remember to use ternary expressions when switching transformations
Taiwan Feiling fm8pb513b MCU provides MCU program development product design
Ora-19838 -- restore control files to the standby database
2 juillet: BitTorrent est sorti; L'acquisition du système commercial linspire; Sony Deployment PlayStation now
PFC232-SOP8/14/16应广一级可带烧录程序编带
随机推荐
MySQL advanced - transaction and index
辉芒微IO单片机FT60F011A-RB
MySQL -- basic concept of database
原厂原装 应广单片机PMS134方案开发应用案例
567.字符串中的排列
Laravel文档阅读笔记-Custom Authentication Login And Registration Using Laravel 8
毕业总结
2020互联网行业术语
[target tracking] |siamfc
把xshell连接服务器关掉,运行的jar包就自动停止的解决方案
【历史上的今天】7 月 2 日:BitTorrent 问世;商业系统 Linspire 被收购;索尼部署 PlayStation Now
Pfc232-sop8/14/16 should be wide-ranging and can be tape programmed with burning program
Virtual lab basic experiment tutorial -7 Polarization (2)
能解决 80% 故障的排查思路
Huimang micro IO MCU ft60f11f-mrb
A4988与42步进电机
ORA-19838 -- 恢复控制文件到备库
Use Zadig to build a continuous delivery platform from 0 to 1
HDU - 1114 Piggy Bank (full backpack)
What should we pay attention to in the development process of Yingguang single chip microcomputer?