diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-02 08:54:17 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-02 08:54:17 -0400 |
commit | 4180f497410f2c6a29fab435ff1cfa0e17d81f8a (patch) | |
tree | 907d1bb32d013b05988f7b6f6876c493386eeb79 /arm9/asm/MSL_ARM_math.s | |
parent | e7929cb735b9c1dc783eef3eb6fbfc7e6f666835 (diff) |
Split libc.s, 5
Diffstat (limited to 'arm9/asm/MSL_ARM_math.s')
-rw-r--r-- | arm9/asm/MSL_ARM_math.s | 22 |
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
|