RosettaCodeData/Task/Memory-allocation/Retro/memory-allocation.retro
2023-07-01 13:44:08 -04:00

29 lines
225 B
Text

display total memory available
~~~
EOM n:put
~~~
display unused memory
~~~
EOM here - n:put
~~~
display next free address
~~~
here n:put
~~~
allocate 1000 cells
~~~
#1000 allot
~~~
free 500 cells
~~~
#-500 allot
~~~