pokediamond/arm7/asm/OS_timer.s
2020-06-09 02:15:17 +01:00

21 lines
375 B
ArmAsm

.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