Difference between 07h and 08h services of INT 21h in 8086 assembly

Viewed 4085

Both the services (07h and 08h) of INT 21h have the same purpose (console input without echo) as mentioned in DOS INT 21h. But it also mentions a small difference which is 07h does not check ^C/^Break while as 08h does.

Looking it up on the Internet I found that ^C/^Break in modern keyboards is enforced with the Ctrl + NumLock key combinations. So I did that on both of the services and guess what both of them terminate. But the documentation says 07h shouldn't. So what is the difference between the two then?

My Code:

   .model small
   .data
   .code
   .startup

        mov ah, 08h ; or mov ah, 07h
        int 21h

        mov ah, 04ch
        int 21h

   end
0 Answers
Related