当前位置:网站首页>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
边栏推荐
- Tencent interview algorithm question
- Chapter III principles of MapReduce framework
- Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
- 搭建flutter环境入坑集合
- ~85 transition
- ~71 abbreviation attribute of font
- 7-5 blessing arrived
- Solr standalone installation
- CMake速成
- 字节跳动技术新人培训全记录:校招萌新成长指南
猜你喜欢
Shell_ 00_ First meeting shell
LeetCode 1584. Minimum cost of connecting all points
I'm "fixing movies" in ByteDance
Business system compatible database oracle/postgresql (opengauss) /mysql Trivia
LeetCode 1558. Get the minimum number of function calls of the target array
Mp4 format details
Erlang installation
Yao BanZhi and his team came together, and the competition experts gathered together. What fairy programming competition is this?
LeetCode 1637. The widest vertical area between two points without any point
Some instructions on whether to call destructor when QT window closes and application stops
随机推荐
~73 other text styles
Saw local status change event StatusChangeEvent [timestamp=1644048792587, current=DOWN, previous=UP]
LeetCode 1584. Minimum cost of connecting all points
@RestController、@Controller
One hundred questions of image processing (1-10)
字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
~77 linear gradient
Educational Codeforces Round 122 (Rated for Div. 2)
字节跳动开源GAN模型压缩框架,算力最高节省97.8%丨ICCV 2021
~87 animation
Audio and video development interview questions
Error occurred during initialization of VM Could not reserve enough space for object heap
Redis standalone startup
Record the error reason
Simply try the new amp model of deepfacelab (deepfake)
Codeforces Global Round 19
One hundred questions of image processing (11-20)
ByteDance technical Interviewer: what kind of candidate do I want to pick most
Chapter 1 overview of MapReduce
Sublime text code formatting operation