added mul shortcut

This commit is contained in:
Luxferre
2025-04-30 10:37:46 +03:00
parent d20c975ac2
commit 93de4d794a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -191,6 +191,7 @@ The shortcut mnemonics for other operations are as follows:
* `dia` is a shortcut to `cpy 0` (direct integer 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)
* `exp` is a shortcut to `nel 0` (natural exponent)
* `log` is a shortcut to `nel 1` (natural logarithm)
* `sin` is a shortcut to `tri 0` (sine)
+1
View File
@@ -37,6 +37,7 @@ jmpfunc_shorts = {
'dia': 'cpy 0', # direct integer assignment
'dva': 'cpy 1', # direct value assignment
'iva': 'cpy 2', # indirect value assignment
'mul': 'fma 0', # multiplication
'exp': 'nel 0', # natural exponent
'log': 'nel 1', # natural logarithm
'sin': 'tri 0', # sine