more tests for the runtime

This commit is contained in:
Francesco Cozzuto
2023-01-23 01:06:29 +01:00
parent 1780826a97
commit f7a2cb0611
48 changed files with 597 additions and 14 deletions
+14
View File
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 100;
PUSHINT 8;
MOD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [4]
+14
View File
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 8;
PUSHINT 100;
MOD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [8]