From de0a7a3d73ea026c9f483aadd7647f19e8932f42 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 19 Jun 2021 15:28:52 -0400 Subject: Update used instruction markers --- docs/implementation/vm.html | 8 ++++---- implementation/vm.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/implementation/vm.html b/docs/implementation/vm.html index 48135fa3..1a5de057 100644 --- a/docs/implementation/vm.html +++ b/docs/implementation/vm.html @@ -90,7 +90,7 @@ 5 FN1C - +X Monadic function call @@ -98,7 +98,7 @@ 6 FN2C - +X Dyadic function call @@ -130,7 +130,7 @@ 10 TR3D - +X Create 3-train @@ -194,7 +194,7 @@ 18 CHKV - +X Error if top of stack is · diff --git a/implementation/vm.md b/implementation/vm.md index 377bd605..2cb2f526 100644 --- a/implementation/vm.md +++ b/implementation/vm.md @@ -50,12 +50,12 @@ The following instructions are defined by dzaima/BQN. The ones emitted by the se | 2 | VARM | | | `I` | Push named variable `I` reference | 3 | ARRO | X | | `N` | Create length-`N` list | 4 | ARRM | X | 3 | `N` | Create length-`N` reference list -| 5 | FN1C | | | | Monadic function call -| 6 | FN2C | | | | Dyadic function call +| 5 | FN1C | X | | | Monadic function call +| 6 | FN2C | X | | | Dyadic function call | 7 | OP1D | X | | | 1-modifier call | 8 | OP2D | X | | | 2-modifier call | 9 | TR2D | X | | | Create 2-train -| 10 | TR3D | | | | Create 3-train +| 10 | TR3D | X | | | Create 3-train | 11 | SETN | X | | | Define variable | 12 | SETU | X | | | Change variable | 13 | SETM | X | | | Modify variable @@ -63,7 +63,7 @@ The following instructions are defined by dzaima/BQN. The ones emitted by the se | 15 | DFND | X | | `I` | Localize and push block `I` | 16 | FN1O | X | 5 | | Monadic call, checking for `·` | 17 | FN2O | X | 6 | | Dyadic call, checking for `·` -| 18 | CHKV | | | | Error if top of stack is `·` +| 18 | CHKV | X | | | Error if top of stack is `·` | 19 | TR3O | X | 10 | | Create 3-train, checking for `·` | 20 | OP2H | | | | Bind right operand to 2-modifier | 21 | LOCO | X | | `D`, `I` | Push local variable `I` from `D` frames up -- cgit v1.2.3