我的目标是使用 Int 16 指令能够使用箭头键在程序中上下移动,直到我的用户决定按退出键。我是否在循环中使用以下代码读取多个按键并在末尾添加终止条件,或者是否缺少某些内容?
Mov ah,00 int 16
assembly real-mode bios x86-16
assembly ×1
bios ×1
real-mode ×1
x86-16 ×1