Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
@Write Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @Write buffer, length [,[handle] [,segment]]
 
  Summary:   Writes data to a file or device
 
  Arguments: <buffer>      Offset of buffer where data is stored. Must
                           be an offset address.
 
             <length>      Length of data in bytes.
 
             <handle>      File or device handle; if none given, screen
                           (handle 1) is assumed.
 
             <segment>     Segment of address string; DS if not given.
 
  Returns:   If carry: clear, bytes written in AX
 
  Modifies:  AX, DX, BX, CX; DS if segment changed
 
  See also:  Int 21h Function 40h, @Read
                                    -♦-