renamed dia to dca
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user