mirror of
https://github.com/bobbimanners/EightBall.git
synced 2024-06-08 07:29:34 +00:00
Added ATOR VM instruction.
This commit is contained in:
parent
f22f303c80
commit
5a4fa67d1b
|
@ -868,6 +868,7 @@ The call stack is used for all memory allocation within the virtual machine, as
|
|||
| PSHB | Push 8 bit value in X onto call stack. Drop X. |
|
||||
| SPTOFP | Copy stack pointer to frame pointer. (Enter function scope) |
|
||||
| FPTOSP | Copy frame pointer to stack pointer. (Release local vars) |
|
||||
| ATOR | Convert absolute address in X to FP-relative address |
|
||||
| RTOA | Convert FP-relative address in X to absolute address |
|
||||
| INC | `X = X+1`. |
|
||||
| DEC | `X = X-1`. |
|
||||
|
|
Loading…
Reference in New Issue
Block a user