summaryrefslogtreecommitdiff
path: root/arm7/asm/OS_timer.s
blob: 434be17a05394c55e2893780834f6a10caa60d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
    .include "asm/macros.inc"
    .include "global.inc"

    .section .bss

	.global _0380791C
_0380791C: ;0x0380791C
	.space 0x03807920 - 0x0380791C

    .section .text

	arm_func_start OSi_SetTimerReserved
OSi_SetTimerReserved: ; 0x037FA348
	ldr	r1, _037FA360	; =_0380791C
	ldrh	r3, [r1]
	mov	r2, #1
	orr	r0, r3, r2, lsl r0
	strh	r0, [r1]
	bx	lr
_037FA360:	.word	_0380791C