diff options
| author | 2023-02-09 16:16:41 +0000 | |
|---|---|---|
| committer | 2023-02-09 16:16:41 +0000 | |
| commit | c0770d8ece675f5e6f2249b331c7550933915829 (patch) | |
| tree | 49ed1779f0941a60ce2941c312d3f53f4ab81616 /asm/creole.py | |
| parent | test refactoring (diff) | |
add compile t est
Diffstat (limited to 'asm/creole.py')
| -rw-r--r-- | asm/creole.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/creole.py b/asm/creole.py index c1045c5..1ed25e8 100644 --- a/asm/creole.py +++ b/asm/creole.py @@ -73,7 +73,7 @@ class Instruction: instructions = { "nop" : Instruction(0, []), -"push" : Instruction(1, [ArgType.REG]), +"push" : Instruction(1, [ArgType.VAL]), "pop" : Instruction(2, [ArgType.REG]), "add" : Instruction(3, [ArgType.VAL, ArgType.VAL, ArgType.VAL]), "mul" : Instruction(4, [ArgType.VAL, ArgType.VAL, ArgType.VAL]), |
