Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对汇编很陌生,并试图弄清楚从标准输入读取输入。我们如何在用户按下 enter 后终止阅读输入?
我在dosbox中使用a86。
jmp lo readChar: mov ah, 01h ; we want to read int 21h ; result in al ret lo: call readChar jnz lo int 20h ; exit