home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
lang
/
getpargs.sha
/
freepval.s
< prev
next >
Wrap
Text File
|
1985-01-17
|
455b
|
19 lines
| freepval - Free space on the stack previously allocated with allocpval.
|
| Frees the requested number of bytes (must be even) from top of the stack.
|
| freepval(numbytes);
|
| The number of bytes must correspond to that allocated with allocpval.
|
| History
| 01/10/84 Moy Created.
|
.globl freepval
freepval:
movl sp,a0 | current stack position
addl sp@(4),a0 | new stack top
movl sp@,a0@ | move return address
movl a0,sp | adjust stack
rts