summaryrefslogtreecommitdiff
path: root/uscript/xbytecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'uscript/xbytecode.h')
-rw-r--r--uscript/xbytecode.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/uscript/xbytecode.h b/uscript/xbytecode.h
new file mode 100644
index 0000000..4372ea5
--- /dev/null
+++ b/uscript/xbytecode.h
@@ -0,0 +1,32 @@
+BC(LOAD)
+BC(LOAD_FUNC)
+BC(SMALL_INT)
+BC(FALSE)
+BC(TRUE)
+BC(ZILCH)
+BC(GET_LOCAL)
+BC(SET_LOCAL)
+BC(GET_UPVAL)
+BC(SET_UPVAL)
+BC(POP)
+BC(POP_UPVAL)
+BC(ADD)
+BC(SUB)
+BC(MULT)
+BC(DIV)
+BC(MOD)
+BC(GT)
+BC(GTE)
+BC(LT)
+BC(LTE)
+BC(NEG)
+BC(NOT)
+BC(EQL)
+BC(NEQL)
+BC(CONCAT)
+BC(JMP)
+BC(FALSEY_JMP)
+BC(LOOP)
+BC(PRINT)
+BC(CALL)
+BC(RET)