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.
@Read Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @Read buffer, length [,[handle] [,segment]]
 
  Summary:   Reads data from a file or device
 
  Arguments: <buffer>      Offset of buffer where data will be stored.
                           Must be an offset address.
 
             <length>      Length of data in bytes.
 
             <handle>      File or device handle; if none given,
                           keyboard (handle 0) is assumed.
 
             <segment>     Segment of address string; DS if not given.
 
  Returns:   If carry: clear, bytes read in AX
 
  Modifies:  AX, DX, BX, CX; DS if segment changed
 
  See also:  Int 21h Function 3Fh, @Write
                                    -♦-