- DOS services
Function
number
|
Description
|
01h
e.g.
mov ah,01h
int
21h
|
Keyboard input
with echo:
This
operation accepts a character from the keyboard buffer. If none is present,
waits for keyboard entry. It returns the character in AL.
|
02h
e.g.
mov ah,02h
int
21h
|
Display
character:
Send
the character in DL to the standard output device console.
|
09h
e.g.
mov ah,09h
int
21h
|
String output:
Send
a string of characters to the standard output. DX contains the offset address
of string. The string must be terminated with a ‘$’ sign.
|
0Ah
|
String input
|
4Ch
e.g.
mov ax,4C00h
int
21h
|
Terminate the
current program
(mov
ah,4Ch
int 21h is also used.)
|
No comments:
Post a Comment