summaryrefslogtreecommitdiff
path: root/arm9/asm/MSL_math.s
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/asm/MSL_math.s')
-rw-r--r--arm9/asm/MSL_math.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/arm9/asm/MSL_math.s b/arm9/asm/MSL_math.s
new file mode 100644
index 00000000..aaa97c48
--- /dev/null
+++ b/arm9/asm/MSL_math.s
@@ -0,0 +1,16 @@
+ .include "global.inc"
+ .include "asm/macros.inc"
+ .extern __float_nan
+
+ .text
+
+ arm_func_start nan
+nan: ; 0x020DE2E4
+ ldr r0, _020DE2F4 ; =__float_nan
+ ldr ip, _020DE2F8 ; =_f2d
+ ldr r0, [r0, #0x0]
+ bx r12
+ .balign 4
+_020DE2F4: .word __float_nan
+_020DE2F8: .word _f2d
+ arm_func_end nan