S2 simulator extended with Data
Structure package
Two "trap" functions have been added:
trap
5
returns a new cell (an address) via R[28].
trap
6
print a list on the screen (including a NIL atom)
The heap memory for Data Structure is assumed to reside at
M[10000]..M[20000] of the S2 simulator. An internal "free
cell pointer" starts at the address 10000. "trap 5" checks
"out-of-memory" conditions.
12 Feb 2007