SuperMarioOdysseyOnline/source/nx/svc.s
2022-06-18 18:25:15 -07:00

17 lines
No EOL
229 B
ArmAsm

.macro SVC_BEGIN name
.section .text.\name, "ax", %progbits
.global \name
.type \name, %function
.align 2
.cfi_startproc
\name:
.endm
.macro SVC_END
.cfi_endproc
.endm
SVC_BEGIN svcOutputDebugString
svc 0x27
ret
SVC_END