当前位置:网站首页>利用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
边栏推荐
- ORA-19838 -- 恢复控制文件到备库
- 透过华为军团看科技之变(六):智慧公路
- Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
- Embedded development board ~ description
- Intelligent hydropower meter energy consumption monitoring cloud platform
- Use Zadig to build a continuous delivery platform from 0 to 1
- Outsourcing for five years, abandoned
- 567.字符串中的排列
- Asemi rectifier bridge umb10f parameters, umb10f specifications, umb10f package
- Solution pour arrêter automatiquement les paquets Jar en cours d'exécution en éteignant le serveur de connexion xshell
猜你喜欢
Yingguang single chip microcomputer development specification pmc131 with AD chip to detect battery voltage single chip microcomputer sop8/14
wait_for_gap -- 从主库归档备库恢复归档
515. Find the maximum value in each tree row
MySQL --- 数据库的基本概念
Finally detailed explanation
MySQL --- 數據庫的基本操作
【Zuul】com. netflix. zuul. exception. ZuulException: Hystrix Readed time out
Does pytorch support 32 bits?
In Linux, MySQL sets the job task to start automatically
MySQL -- basic concept of database
随机推荐
MySQL advanced - transaction and index
Experience Alibaba cloud character recognition OCR
MySQL --- 数据库的基本操作
应广单片机开发 工规 PMC131 带AD芯片检测电池电压单片机SOP8/14
977. Square of ordered array
Embedded ~ introduction
应广PMC131 SOP16 16pin八位单片机
567.字符串中的排列
MySQL -- basic concept of database
[nonlinear control theory]8_ Comparison of three robust controllers
EdgeNeXt打出了一套混合拳:集CNN与Transformer于一体的轻量级架构
Yingguang single chip microcomputer development specification pmc131 with AD chip to detect battery voltage single chip microcomputer sop8/14
Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
求求你们,别再刷 Star 了!这跟“爱国”没关系!
win10 kms activator
How to download wechat payment certificate (API certificate)
Solution pour arrêter automatiquement les paquets Jar en cours d'exécution en éteignant le serveur de connexion xshell
515. 在每个树行中找最大值
Easyai notes - machine learning
Two pieces of nature a day! Duan Fengfeng, an alumnus of the University of science and technology of China, was the third Chinese winner of the belby medal