From 957c64c7b8b5e98d8a03dd84c7e27e7991fb9dbc Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Mon, 6 Apr 2026 17:04:05 -0400 Subject: Initial commit --- uscript/xbytecode.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 uscript/xbytecode.h (limited to 'uscript/xbytecode.h') 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) -- cgit v1.3-2-g0d8e