Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Int 21h Function 22h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   22h
 
  Title:       Random Write
 
  See also:    Write to File or Device
 
  Description:
 
     Writes data from memory into a selected record in a file.
 
     Input                     Output
 
     AH = 22h                  AL = 00h (if write successful)
     DS:DX = segment:offset       = 01h (if disk full)
             of previously        = 02h (if segment wrap, write canceled)
             opened file
             control block
                                    -♦-