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 Function 0Ah
 Detail Example                          Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   0Ah
 
  Title:       Buffered Keyboard Input
 
  See also:    Read File or Device, Character Input, @GetStr
 
  Description:
 
     Reads a string of bytes from the standard input device, up to and
     including an ASCII carriage return (0Dh), and places it in a
     user-designated buffer. The characters are echoed to the standard
     output device. Input may be redirected. However, if input has been
     redirected, there is no way to detect EOF.
 
     Input                                Output
 
     AH = 0Ah                             None
     DS:DX = segment:offset of buffer
                                    -♦-