summaryrefslogtreecommitdiff
path: root/arm9/asm/MSL_ARM_math.s
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/asm/MSL_ARM_math.s')
-rw-r--r--arm9/asm/MSL_ARM_math.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/arm9/asm/MSL_ARM_math.s b/arm9/asm/MSL_ARM_math.s
new file mode 100644
index 00000000..cb9bb034
--- /dev/null
+++ b/arm9/asm/MSL_ARM_math.s
@@ -0,0 +1,21 @@
+ .include "global.inc"
+ .include "asm/macros.inc"
+
+ .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
+
+ .section .exceptix,4
+
+ .word nan
+ .short 25
+ .word 0x00000000