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.
Int 21h Function 49h
 Detail Example                          Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   49h
 
  Title:       Release Memory Block
 
  See also:    Allocate Memory Block, @FreeBlock
 
  Description:
 
     Releases a memory block and makes it available for use by other
     programs.
 
     Input                        Output
 
     AH = 49h                     If function successful
     ES = Segment of block to       Carry flag: clear
          be released
                                  If function unsuccessful
                                    Carry flag: set
                                    AX = Error code (07h or 09h)
                                    See: Error codes
                                    -♦-