Added DISC VM instruction to table

This commit is contained in:
Bobbi Webber-Manners 2018-05-18 20:52:00 -04:00 committed by GitHub
parent 0ca0350333
commit 3e68d8e58b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -945,6 +945,7 @@ The call stack is used for all memory allocation within the virtual machine, as
| POPB | Pop 8 bit value from call stack, push onto eval stack [X] |
| PSHW | Push 16 bit value in X onto call stack. Drop X. |
| PSHB | Push 8 bit value in X onto call stack. Drop X. |
| DISC | Discard X bytes from 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 |