summaryrefslogtreecommitdiff
path: root/arm9/asm/RUNTIME_ll_mul.s
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/asm/RUNTIME_ll_mul.s')
-rw-r--r--arm9/asm/RUNTIME_ll_mul.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/arm9/asm/RUNTIME_ll_mul.s b/arm9/asm/RUNTIME_ll_mul.s
new file mode 100644
index 00000000..965efe9e
--- /dev/null
+++ b/arm9/asm/RUNTIME_ll_mul.s
@@ -0,0 +1,15 @@
+ .include "asm/macros.inc"
+ .include "global.inc"
+
+ .text
+
+ arm_func_start _ll_mul
+_ll_mul: ; 0x020EBC30
+ stmdb sp!, {r4-r5,lr}
+ umull r5, r4, r0, r2
+ mla r4, r0, r3, r4
+ mla r4, r2, r1, r4
+ mov r1, r4
+ mov r0, r5
+ ldmia sp!, {r4-r5,lr}
+ bx lr