aboutsummaryrefslogtreecommitdiff
path: root/crates/sloth_bytecode/src/lib.rs
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-04-14 04:50:53 -0500
committerCody <cody@codyq.dev>2023-04-14 04:50:53 -0500
commit5dbfa844a37cf00125db891d095d94620ba24879 (patch)
tree441c8408ae873e6926e8864d353e71fdad809b4e /crates/sloth_bytecode/src/lib.rs
parent97b7cd10d2bec408cc237e13c61562c810d8fd29 (diff)
downloadsloth-5dbfa844a37cf00125db891d095d94620ba24879.tar.gz
awful
Diffstat (limited to 'crates/sloth_bytecode/src/lib.rs')
-rw-r--r--crates/sloth_bytecode/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/sloth_bytecode/src/lib.rs b/crates/sloth_bytecode/src/lib.rs
index 2319330..c8152f6 100644
--- a/crates/sloth_bytecode/src/lib.rs
+++ b/crates/sloth_bytecode/src/lib.rs
@@ -51,6 +51,7 @@ opcodes! {
0x13 SetGlobal "Set a global value",
0x14 GetLocal "Get a local value",
0x15 SetLocal "Set a local value",
+ 0x16 Box "Box a value on the stack",
0x20 Add "Add the last 2 values on the stack",
0x21 Sub "Subtract the last 2 values on the stack",