1、 下载这个软件,解压即可。
DOSBox.rar
2、 点击![在这里插入图片描述](https://img-blog.csdnimg.cn/e2d870ffe7ca49e6a9bf51c8ad891993.png)
2.1、编辑窗口大小
2.2、编辑代码开发环境
3、 运行第一个DEMO
3.1、 代码
.model small
.data
strs DB 'hello world',13,10,'$'
.code
start:
mov ax,@data
mov ds,ax
mov dx,offset strs
mov ah,09h
int 21h
mov ah,4ch
int 21h
end start
3.2、 打开编辑工具
3.3、 编译汇编
masm test.asm
3.4、 链接文件
link test.obj
3.5、 运行应用
test.exe