当前位置:网站首页>DOS 功能调用
DOS 功能调用
2022-07-06 09:29:00 【My71】
[原文链接 —— SevenOne’Blog](http://www.my71.fun/2022/04/27/汇编语言/11-DOS 功能调用/)
DOS 功能调用
- 想实现输出输出可以借助 BIOS 功能调用和 DOS 功能调用。
- 在 DOS 中有很多功能,每个功能用唯一的功能号作区分,相当于 id。
- 功能号只能存到 AH 中。
指令集
01H
功能:输入一个字符后立即显示出来。
输入的数据存到了 AL 中。
mov ah,01h int 21h
02H
功能:输出一个字符。
使用前需要将输出的字符或字符的 16 进制 ASCII 码存到 DL 中。
mov dl,'A' mov ah,02h int 21h
07H
功能:输入一个字符后无任何显示,继续执行下面的程序。
同 01H,输入的数据存到了 AL 中。
mov ah,07h int 21h
边栏推荐
- Which is more important for programming, practice or theory [there are some things recently, I don't have time to write an article, so I'll post an article on hydrology, and I'll fill in later]
- 姚班智班齐上阵,竞赛高手聚一堂,这是什么神仙编程大赛?
- Cartesian tree (modified)
- How to generate six digit verification code
- redux使用说明
- ~73 other text styles
- ~Introduction to form 80
- 腾讯面试算法题
- 这群程序员中的「广告狂人」,把抖音广告做成了AR游戏
- LeetCode 1020. Number of enclaves
猜你喜欢

字节跳动海外技术团队再夺冠:高清视频编码已获17项第一

Train 100 pictures for 1 hour, and the style of the photos changes at will. There is a demo at the end of the article | siggraph 2021

ByteDance new programmer's growth secret: those glittering treasures mentors

J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets

Two weeks' experience of intermediate software designer in the crash soft exam

Mp4 format details

SQL快速入门
![Solve the problem of intel12 generation core CPU [small core full, large core onlookers] (win11)](/img/92/9465a6c9f1ab88c4851a47fabe750c.jpg)
Solve the problem of intel12 generation core CPU [small core full, large core onlookers] (win11)

CMake速成

音视频开发面试题
随机推荐
Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
这116名学生,用3天时间复刻了字节跳动内部真实技术项目
Hbuilder x format shortcut key settings
J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
~83 form introduction
Story of [Kun Jintong]: talk about Chinese character coding and common character sets
字节跳动海外技术团队再夺冠:高清视频编码已获17项第一
~77 linear gradient
Chapter 5 yarn resource scheduler
Spark's RDD (elastic distributed data set) returns a large result set
ByteDance 2022 school recruitment R & D advance approval publicity meeting, students' top 10 issues
~81 long table
7-7 ring the stupid bell
「博士毕业一年,我拿下 ACL Best Paper」
Solr word segmentation analysis
DS18B20數字溫度計系統設計
Typescript basic operations
Usage of insert() in vector
Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog