当前位置:网站首页>利用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
边栏推荐
- 毕业总结
- Viewing technological changes through Huawei Corps (VI): smart highway
- Calculation of favorable comment rate
- Mb10m-asemi rectifier bridge mb10m
- Problems needing attention in the development and debugging of Yingguang single chip microcomputer
- 开发一个禁止删除namespace的控制器
- D constructor problem
- MySQL advanced - transaction and index
- Pfc232-sop8/14/16 should be wide-ranging and can be tape programmed with burning program
- [target tracking] | data set summary
猜你喜欢
MySQL安装与配置
Embedded ~ introduction
Aloam code reading and summary
开发一个禁止删除namespace的控制器
How to download wechat payment certificate (API certificate)
Mb10m-asemi rectifier bridge mb10m
Keras' deep learning practice -- gender classification based on vgg19 model
Linux中,mysql设置job任务自动启动
EdgeNeXt打出了一套混合拳:集CNN与Transformer于一体的轻量级架构
Redisson high performance redis distributed lock source code analysis
随机推荐
Modbus protocol communication exception
王者荣耀商城异地多活架构设计
Redisson 高性能 Redis 分布式锁源码分析
PMS150C应广单片机开发案例
详解Kubernetes网络模型
Unified interface for reading and writing data files in xml/json/ini and ubjson formats
[nonlinear control theory]8_ Comparison of three robust controllers
Development and application case of pms134 scheme of Yingguang single chip microcomputer with original packaging
使用Zadig从0到1搭建持续交付平台
Easyai notes - deep learning
Atcoder beginer contest 237 VP supplement
My creation anniversary
Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
Design of the multi live architecture in different places of the king glory mall
D constructor problem
Outsourcing for five years, abandoned
售价仅40元,树莓派Pico开发板加入WiFi模块,刚上市就脱销
Bluetooth technology | new working mode of wearable devices of the Internet of things, and Bluetooth ble helps the new working mode
ORA-19838 -- 恢复控制文件到备库
Longest non repeating subarray