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.
@ModBlock Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @ModBlock paragraphs [,segment]
 
  Summary:   Modifies an allocated block of memory
 
  Arguments: <paragraphs>     Paragraphs (16 bytes) of memory wanted.
 
             <segment>        Starting address of memory to be freed; if
                              none given, ES address assumed.
 
  Returns:   If carry is set, the error code is returned in AX;
               otherwise, the ES register contains the segment address of
               allocated memory. If carry is clear, the BX register contains
               the number of paragraphs allocated.
 
  Modifies:  AX, BX; ES if segment given
 
  See also:  Int 21h Function 4Ah @GetBlock, @FreeBlock
                                    -♦-