gpt4 book ai didi

assembly - "int 21h"在汇编中是什么意思?

转载 作者:行者123 更新时间:2023-12-02 14:03:22 24 4
gpt4 key购买 nike

我是学习汇编语言的新手,我想知道命令 int 21h 的含义。例如:

 mov ah,01h
int 21h

它应该从用户那里读取 key 。

最佳答案

int 21h 表示调用中断处理程序 0x21,即 DOS 功能调度程序。 “mov ah,01h”将 AH 设置为 0x01,这是中断中带有 Echo 处理程序的键盘输入。请参阅:

http://spike.scu.edu.au/~barry/interrupts.html

关于assembly - "int 21h"在汇编中是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6293699/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com