Assembly Language Help (alang.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Int 21h Functions 01h, 07h, and 08h
◄Detail► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Interrupt: 21h Functions: 01h, 07h, and 08h
Title: Character Input
See also: ASCII Chart, Extended Key Codes, Direct Console I/O,
Read Character from Keyboard, Buffered Keyboard Input,
Read File or Device, @GetChar
Description:
Reads a character from the standard input device. If no character
is ready, the function waits until one is available. Input can be
redirected. However, if input has been redirected, there is no
way to detect EOF.
Input Output
AH = 01h for filtered with echo AL = 8-bit input data
= 07h for unfiltered without echo
= 08h for filtered without echo
-♦-