Both services (07h and 08h) of INT 21h have the same purpose (console input without an echo), as indicated in DOS INT 21h , but he also mentions a small difference, which 07h does not check ^ C / ^ Break, but as 08h does .
Having looked at it on the Internet, I found that ^ C / ^ Break in modern keyboards is applied using Ctrl+ NumLockkeyboard shortcuts. So I did it on both services and guessed that they both stop. But the documentation says 07h shouldn't. So what is the difference between the two?
My code is:
.model small
.data
.code
.startup
mov ah, 08h ; or mov ah, 07h
int 21h
mov ah, 04ch
int 21h
end
source
share