home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / SOFTWARE / LIBS / PMC101.ZIP / LIBSRC.ZIP / FREE.ASM (.txt) < prev    next >
Assembly Source File  |  1994-06-18  |  437b  |  29 lines

  1. .386p
  2. locals
  3.  
  4. extrn   _lowheapblock:dword, _extheapblock:dword
  5.  
  6. extrn   MBFREE:near
  7.  
  8. public  FREE
  9.  
  10. _TEXT           segment byte public use32 'CODE'
  11. assume  cs:_TEXT
  12.  
  13. FREE:
  14.         mov eax,[esp+4+0]
  15.         push offset _extheapblock
  16.         push eax
  17.         call MBFREE
  18.  
  19.         mov eax,[esp+4+0]
  20.         push offset _lowheapblock
  21.         push eax
  22.         call MBFREE
  23.  
  24.         ret 4
  25.  
  26. _TEXT           ends
  27. end
  28.  
  29.