summaryrefslogtreecommitdiff
path: root/arm9/asm/MSL_ARM_math.s
blob: cb9bb034904dd709b0cc159587838e0928b51694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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