summaryrefslogtreecommitdiff
path: root/arm9/asm/secure.s
blob: 9c693a9e5ca4d4e215a28d5e68f1c4d5a0e4ba71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* secure.s TODO: Disassemble */
	.include "asm/macros.inc"

.section .text

.incbin "baserom.nds", 0x4000, 0xC8
	non_word_aligned_thumb_func_start SVC_GetCRC16
SVC_GetCRC16: ; 0x020000C8
	swi 14
	bx lr
	thumb_func_end SVC_GetCRC16

.incbin "baserom.nds", 0x40CC, 0xD2

	non_word_aligned_thumb_func_start SVC_Sqrt
SVC_Sqrt: ; 0x0200019E
	swi 13
	bx lr
	thumb_func_end SVC_Sqrt

.incbin "baserom.nds", 0x41A2, 0x15C

	non_word_aligned_thumb_func_start SVC_CpuSet
SVC_CpuSet: ; 0x020002FE
	swi 11
	bx lr

.incbin "baserom.nds", 0x4302, 0x2F0

	non_word_aligned_thumb_func_start SVC_WaitByLoop
SVC_WaitByLoop:
	swi 3
	bx lr

.incbin "baserom.nds", 0x45F6, 0x20A