aboutsummaryrefslogtreecommitdiff
path: root/lib/heap.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 21:15:13 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 21:38:52 +0000
commiteda49755bc91e03092dc1619d78cded126998d64 (patch)
treeb04b40ca8ece612b116be902071069d140c32084 /lib/heap.h
parent4e64f1fe235ffaed6f2eb6fdb228b480c4dfcb1b (diff)
downloadovm-eda49755bc91e03092dc1619d78cded126998d64.tar.gz
ovm-eda49755bc91e03092dc1619d78cded126998d64.tar.bz2
ovm-eda49755bc91e03092dc1619d78cded126998d64.zip
Added instructions for allocating, setting, getting and deleting heap memory
One may allocate any number of (bytes|hwords|words), set or get some index from allocated memory, and delete heap memory. The idea is that all the relevant datums will be on the stack, so no register usage. This means no instructions should use register space at all (other than POP, which I'm debating about currently). Register space is purely for users.
Diffstat (limited to 'lib/heap.h')
0 files changed, 0 insertions, 0 deletions