Int 31H Function 0502H

Free Memory Block [0.9]

Frees a memory block that was previously allocated with either the Allocate Memory Block function (Int 31H Function 0501H) or the Allocate Linear Memory Block function (Int 31H Function 0504H).

Call With

AX = 0502H
SI:DI = memory block handle


if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8023Hinvalid handle


  prev next   webmaster     delorie software   privacy  
  Copyright © 1996     Updated Apr 1996