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

Returns

if function successful
Carry flag = clear

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

Notes