Atari ST series Technical Reference Manual page 290

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

Mfree()
T h i s f u n c t i o n is u s e d to r e t u r n m e m o r y t h a t w a s a l l o c a t e d w i t h M a l l o c ( )
b a c k t o t h e s y s t e m .
C macro format
i n t s t a t u s ;
l o n g a d d r e s s ;
s t a t u s =
M f r e e ( a d d r e s s ) ;
Machine language format
m o v e .l
a d d r e s s , - ( s p )
m o v e . w
# $ 4 9 , - ( s p )
#1
t r a p
a d d q .l
# 6 , s p
Inputs
l o n g
a d d r e s s
Results
w o r d
DO
s t a t u s
See also
M a l l o c ( )
282
Mfree
Free Memory Block
T h e a d d r e s s o f th e m e m o r y b l o c k t o b e
r e t u r n e d .
A 0 i n d i c a t e s s u c c e s s f u l r e t u r n o f t h e m e m o r y . A
n e g a t i v e n u m b e r i n d i c a t e s a n e r r o r .
Opcode = 73 ($49)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents