当前位置:网站首页>利用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
边栏推荐
- 详解Kubernetes网络模型
- Longest non repeating subarray
- [target tracking] |siamfc
- PMS150C应广单片机开发案例
- My creation anniversary
- aloam 代码阅读与总结
- 台风来袭,多景区暂时关闭,省文旅厅提醒注意安全!
- Virtual lab basic experiment tutorial -7 Polarization (2)
- Redisson high performance redis distributed lock source code analysis
- Yingguang single chip microcomputer pms150/pmc150/pms150c consumer single chip microcomputer
猜你喜欢

PFC232-SOP8/14/16应广一级可带烧录程序编带

ORA-19838 -- 恢复控制文件到备库

Mb10m-asemi rectifier bridge mb10m

蓝牙技术|物联网的可穿戴设备新工作模式,蓝牙BLE助力新工作模式

MySQL -- basic concept of database

Use Zadig to build a continuous delivery platform from 0 to 1

使用Zadig从0到1搭建持续交付平台
![[today in history] July 2: BitTorrent came out; The commercial system linspire was acquired; Sony deploys Playstation now](/img/16/574eee53720fd609027950b9bf8154.png)
[today in history] July 2: BitTorrent came out; The commercial system linspire was acquired; Sony deploys Playstation now

Yingguang single chip microcomputer development specification pmc131 with AD chip to detect battery voltage single chip microcomputer sop8/14

MySQL --- 数据库的基本操作
随机推荐
Pms150c Yingguang MCU development case
Huimang micro IO MCU ft60f11f-mrb
D构造函数问题
应广PMC131 SOP16 16pin八位单片机
Songhan sn8p2511 sop8 single chip microcomputer can be used for burning, providing single chip microcomputer scheme development and single chip microcomputer decryption
Development and application case of pms134 scheme of Yingguang single chip microcomputer with original packaging
Yingguang MCU development case
Development of original Yingguang MCU chip pms152 sop8 encapsulated MCU
义隆EM78P153K DIP14单片机 MCU
PHP gets the number of days, hours, minutes and seconds between the two timestamps
Explain kubernetes network model in detail
PMS132B单片机TWS数码管蓝牙充电仓方案开发
Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
松翰SN8P2511 SOP8单片机 可代烧录 提供单片机方案开发 单片机解密
Design of the multi live architecture in different places of the king glory mall
Pfc232-sop8/14/16 should be wide-ranging and can be tape programmed with burning program
应广单片机003烧录器自定义封装使用技巧
Keras深度学习实战——基于VGG19模型实现性别分类
Bluetooth technology | new working mode of wearable devices of the Internet of things, and Bluetooth ble helps the new working mode
好评率计算