Professional Documents
Culture Documents
• Example: INT 21H calls DOS for various operating system services,
e.g. open a file.
• Example: INT 10H calls up video services from the system BIOS, for
example write character to screen.
• Addresses of these routines are stored in the interrupt vector table.
B0000 Video
C0000
D0000
Reserved
E0000
F0000 BIOS
CS
CS
Type 4 (over flow)
010h IP
CS Type 3
00ch IP
CS
008h IP
Type 2 (NMI)
CS
004h IP Type 1 (single-step)
CS
000h IP
Type 0 (divide error)
• Mov ah,01
• Int 21h
• The above codes will expect the user to enter a character thru the
key board. The entered character will be stored in AL register
• Mov ah,09
• Mov dx,offset message
• Int 21h