home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / powerd / lib / PowerD / RemEStr.ass < prev    next >
Encoding:
Text File  |  1999-09-17  |  253 b   |  14 lines

  1. ; (4,a7) - estring
  2.  
  3.     xdef    _RemEStr
  4.  
  5. _RemEStr    move.l    a6,-(a7)
  6.     movea.l    (8,a7),a1        ; memory block
  7.     move.w    (-4,a1),d0    ; block size
  8.     ext.l    d0
  9.     suba.w    #4,a1        ; real memory block address
  10.     movea.l    $4.w,a6
  11.     jsr    (-210,a6)        ; FreeMem
  12. .finish    move.l    (a7)+,a6
  13.     rts
  14.