summaryrefslogtreecommitdiff
path: root/arm9/asm/MSL_ARM_math.s
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-02 08:54:17 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-02 08:54:17 -0400
commit4180f497410f2c6a29fab435ff1cfa0e17d81f8a (patch)
tree907d1bb32d013b05988f7b6f6876c493386eeb79 /arm9/asm/MSL_ARM_math.s
parente7929cb735b9c1dc783eef3eb6fbfc7e6f666835 (diff)
Split libc.s, 5
Diffstat (limited to 'arm9/asm/MSL_ARM_math.s')
-rw-r--r--arm9/asm/MSL_ARM_math.s22
1 files changed, 22 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..36bb4071
--- /dev/null
+++ b/arm9/asm/MSL_ARM_math.s
@@ -0,0 +1,22 @@
+ .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
+
+ .section .exceptix,4
+
+ .word nan
+ .short 25
+ .word 0x00000000