renamed dia to dca

This commit is contained in:
Luxferre
2025-04-30 10:48:00 +03:00
parent 93de4d794a
commit 0a3361f8ab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ The shortcut mnemonics for the jump operations are as follows:
The shortcut mnemonics for other operations are as follows:
* `dia` is a shortcut to `cpy 0` (direct integer assignment)
* `dca` is a shortcut to `cpy 0` (direct constant assignment)
* `dva` is a shortcut to `cpy 1` (direct value assignment)
* `iva` is a shortcut to `cpy 2` (indirect value assignment)
* `mul` is a shortcut to `fma 0` (multiplication)
+1 -1
View File
@@ -34,7 +34,7 @@ jmpfunc_shorts = {
'ieq': 'jmp 7', # indirect jump if equals to zero
'igt': 'jmp 8', # indirect jump if greater than zero
'ilt': 'jmp 9', # indirect jump if less than zero
'dia': 'cpy 0', # direct integer assignment
'dca': 'cpy 0', # direct constant assignment
'dva': 'cpy 1', # direct value assignment
'iva': 'cpy 2', # indirect value assignment
'mul': 'fma 0', # multiplication