From 3e68d8e58b79a96dd802a0091ec3c2a0e8d0facc Mon Sep 17 00:00:00 2001 From: Bobbi Webber-Manners Date: Fri, 18 May 2018 20:52:00 -0400 Subject: [PATCH] Added DISC VM instruction to table --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 30f4bae..8ebeb00 100644 --- a/README.md +++ b/README.md @@ -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 |