pokeplatinum/lib/msl/asm/Mathlib/_ll_mul.s
2023-01-13 18:45:13 +01:00

19 lines
290 B
ArmAsm

.include "macros/function.inc"
.text
arm_func_start _ll_mul
arm_func_start _ull_mul
_ll_mul:
_ull_mul: ; 0x020E1F1C
stmfd 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
arm_func_end _ull_mul