critical additions

This commit is contained in:
2026-06-13 22:33:47 +02:00
parent c98790621d
commit 9e6a1673ca

View File

@@ -132,6 +132,11 @@ typedef enum noomV_Opcode : unsigned char {
// op.b stores the operation type. // op.b stores the operation type.
NOOMV_INSTR_OP, NOOMV_INSTR_OP,
// pops value, sets stack[op.uD] = value
NOOMV_INSTR_SETVAL,
// pops value, sets *upvals[op.uD] = value
NOOMV_INSTR_SETUPVAL,
// Control flow // Control flow
// returns from a function. The amount returned is from op.uD // returns from a function. The amount returned is from op.uD