Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CHAPTER 3
DOS
keyboard
for
MOV AH ,4CH
INT 21H
MOV AH, 01
INT 21H
This call exits with the ASCII value of the key
pressed, being available in AL .
The key pressed is also echoed on the screen
.
MOV AH, 08
INT 21H
This call exits with the ASCII value of the key
pressed being available in AL .
The key pressed is not echoed on the
screen
unit.
For this ,the ASCII value of the character to be
displayed should be in DL
Displaying a character
MOV DL, S
MOV AH, 02
INT 21H
display unit
The logical address DS:DX should point to the
beginning of the string .
This is to be followed by the following
instructions
MOV AH, 09
INT 21H
STRING DISPLAY
10
11
12
Example 3.10a
13
14
Example 3.4a
15