about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-29 23:10:08 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-29 23:10:08 -0800
commit264cef5ed4cadea34b188f241a3f4490f133eedb (patch)
treeba85b5bdfb921cd344888cdd20417b2aac8a09d1 /apps
parentc5ea59605c0217c37ef7be22e7cd3bf23076f3ff (diff)
downloadmu-264cef5ed4cadea34b188f241a3f4490f133eedb.tar.gz
5953 - 'multiply' instruction
Diffstat (limited to 'apps')
-rwxr-xr-xapps/mubin102123 -> 102193 bytes
-rw-r--r--apps/mu.subx13
2 files changed, 13 insertions, 0 deletions
diff --git a/apps/mu b/apps/mu
index 1b6ae944..21fd150e 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differdiff --git a/apps/mu.subx b/apps/mu.subx
index 51622bb3..17553243 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -5285,6 +5285,19 @@ _Primitive-compare-regmem-with-literal:
     2/imm32/imm32-is-second-inout
     0/imm32/no-disp32
     0/imm32/output-is-write-only
+    _Primitive-multiply-reg-by-mem/imm32/next
+# - multiply
+_Primitive-multiply-reg-by-mem:
+    # var1/reg <- multiply var2 => 0f af/multiply var2/rm32 var1/r32
+    "multiply"/imm32/name
+    Single-int-var-on-stack/imm32/inouts
+    Single-int-var-in-some-register/imm32/outputs
+    "0f af/multiply"/imm32/subx-name
+    1/imm32/rm32-is-first-inout
+    3/imm32/r32-is-first-output
+    0/imm32/no-imm32
+    0/imm32/no-disp32
+    0/imm32/output-is-write-only
     _Primitive-break-if-addr</imm32/next
 # - branches
 _Primitive-break-if-addr<: