当前位置:网站首页>First use of dosbox
First use of dosbox
2022-07-06 12:24:00 【Vigorous waist Nuo dance】
download dosbox
Extraction code :6666
Store the downloaded file in the following way
decompression dosbox
download
It's over by default
It's best to add one on the desktop dosbox Shortcut to
Remember... Here MASM The path of
modify dosbox Configuration of
The configuration is modified to make dosbox It can be used directly MASM Commands in files
Will be dosbox and MASM Connect ( That is, the so-called mount
The configuration file is here (AppData It's a hidden file , You need to turn off hiding to see )
Then use Notepad to open
Drop down to the end here
add to
mount c d:/asm/MASM
set PATH=z:\;c:\;
c:
Change the last part of the first line to your own MASM route
Add and save
The purpose of adding here is to make dosbox These lines of code can be automatically run every time you open
auto execute Automatic execution
Each time it is opened, it will be connected with masm The connection of
Write a asm Assembly language program
stay MASM Create a text file under the folder
The contents are as follows
; 2018y5m18d dsdsds
;Hello World----from whatiwhere Ly
DATAS SEGMENT
STRING DB 'Hello World!',13,10,'$'
DATAS ENDS
CODES SEGMENT
ASSUME CS:CODES,DS:DATAS
START:
MOV AX,DATAS
MOV DS,AX
LEA DX,STRING
MOV AH,9
INT 21H
MOV AH,4CH
INT 21H
CODES ENDS
END START
Finally, modify the suffix as asm
preservation
open dosbox
Input in sequence
masm eg101.asm
link eg101.obj
eg101
Can then
There is waiting for input
Just go straight back
Fonts and colors used in the text
< font face=“ Microsoft YaHei ” color=#0099ff>nothing
边栏推荐
- Common properties of location
- Redis based distributed locks and ultra detailed improvement ideas
- [Leetcode15]三数之和
- Custom view puzzle getcolor r.color The color obtained by colorprimary is incorrect
- .elf .map .list .hex文件
- ESP学习问题记录
- E-commerce data analysis -- salary prediction (linear regression)
- (一)R语言入门指南——数据分析的第一步
- Redis 缓存更新策略,缓存穿透、雪崩、击穿问题
- Gateway 根据服务名路由失败,报错 Service Unavailable, status=503
猜你喜欢
ES6语法总结--上篇(基础篇)
Missing value filling in data analysis (focus on multiple interpolation method, miseforest)
Classification, understanding and application of common methods of JS array
ARM PC=PC+8 最便于理解的阐述
Pat 1097 duplication on a linked list (25 points)
AMBA、AHB、APB、AXI的理解
ES6 grammar summary -- Part 2 (advanced part es6~es11)
数据库课程设计:高校教务管理系统(含代码)
單片機藍牙無線燒錄
Types de variables JS et transformations de type communes
随机推荐
Mp3mini playback module Arduino < dfrobotdfplayermini H> function explanation
(1) Introduction Guide to R language - the first step of data analysis
编译原理:源程序的预处理及词法分析程序的设计与实现(含代码)
VSCode基础配置
ES6语法总结--下篇(进阶篇 ES6~ES11)
【ESP32学习-2】esp32地址映射
Reno7 60W super flash charging architecture
Basic operations of databases and tables ----- creating data tables
Esp8266 connect onenet (old mqtt mode)
Redis based distributed locks and ultra detailed improvement ideas
Walk into WPF's drawing Bing Dwen Dwen
Dead loop in FreeRTOS task function
CUDA C programming authoritative guide Grossman Chapter 4 global memory
@The difference between Autowired and @resource
JS variable types and common type conversions
Types de variables JS et transformations de type communes
AMBA、AHB、APB、AXI的理解
MySQL replacement field part content
基于Redis的分布式ID生成器
Gravure sans fil Bluetooth sur micro - ordinateur à puce unique