Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>function 49h (73) free allocated memory</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 49h (73)        Free Allocated Memory

    Releases memory that was allocated via Function 48h.

       On entry:      AH         49h
                      ES         Segment address of memory to be released

       Returns:       AX         Error code, if CF is set

       Error codes:   7          Memory control blocks destroyed
                      9          Invalid memory block address

                      Call Function 59h for extended error code information
                      (DOS 3.0 and above).

  --------------------------------------------------------------------------

    This function returns to DOS the memory that was allocated by means of
    Function 48h. ES points to the segment address of the block that is
    being returned; this is the same value that Function 48h returned in
    AX.

See Also: 48h 4Ah 59h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson