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.
a 0100 mov cx,59 mov ah,02 mov dl,20 int 21 inc dl loop 0105 int 20 g
我正在尝试循环并增加 DL 中的值,但是当我运行它时。它没有显示任何内容,或者它只显示“空格”字符。我想在 DEBUG 环境中执行此操作,所以请不要告诉我使用塔斯马 xD
您应该更改循环指令,因为现在它将 dl 重置为 20h,这就是它只打印空格字符的原因。尝试直接在 int 21h 指令上循环。