diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-02 21:01:21 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-02 21:01:21 +0000 |
commit | 86977fe3c140e6b5d6c09bc1d26d9f97d89a6488 (patch) | |
tree | a55acd39b074f472c0173b48b067c9abcb7440e8 /asm/lexer.c | |
parent | 9afeed6d617da4841a031423286a0b3f3804f774 (diff) | |
download | ovm-86977fe3c140e6b5d6c09bc1d26d9f97d89a6488.tar.gz ovm-86977fe3c140e6b5d6c09bc1d26d9f97d89a6488.tar.bz2 ovm-86977fe3c140e6b5d6c09bc1d26d9f97d89a6488.zip |
Introduced instructions to engage with a call stack
Essentially you may "call" an absolute program address, which pushes
the current address onto the call stack. CALL_STACK does the same
thing but the absolute program address is taken from the data stack.
RET pops an address off the call stack then jumps to that address.
Diffstat (limited to 'asm/lexer.c')
0 files changed, 0 insertions, 0 deletions