diff --git a/README.md b/README.md index b76d280..a16abea 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/mu808asm.py b/mu808asm.py index c97fdaf..76f4a8e 100755 --- a/mu808asm.py +++ b/mu808asm.py @@ -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