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.
@MovePtrAbs and @MovPtrRel Macros
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @MovePtrAbs handle [,distance]
 
             @MovePtrRel handle [,distance]
 
  Summary:   Moves the file pointer in an open file. The pointer can be
             moved to an absolute position, or relative to its current
             position.
 
  Arguments: <handle>       Previously opened file handle.
 
             <distance>     Distance to move pointer (16-bit) constant
                            or a 16- or 32-bit variable; or leave
                            blank and set distance in CX:DX before
                            macro call.
 
  Returns:   If carry: clear, file pointer position in DX:AX
 
  Modifies:  AX, BX, CX, DX
 
  See also:  Int 21h Function 42h
                                    -♦-