mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-29 14:43:05 +00:00
17 lines
229 B
ArmAsm
17 lines
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
|