mirror of
https://github.com/coderkei/akmenu-next.git
synced 2025-06-19 09:25:33 -04:00
19 lines
276 B
ArmAsm
19 lines
276 B
ArmAsm
@
|
|
@ Copyright (C) 2024 lifehackerhansol
|
|
@
|
|
@ SPDX-License-Identifier: zlib
|
|
@
|
|
|
|
#include <nds/asminc.h>
|
|
|
|
.syntax unified
|
|
.arm
|
|
|
|
@ void waitByLoop(u32 count)
|
|
@ because we can't use swi 0x3 in DLDI
|
|
|
|
BEGIN_ASM_FUNC waitByLoop
|
|
subs r0, r0, #1
|
|
bgt waitByLoop
|
|
bx lr
|