mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-14 08:41:50 +01:00
16 lines
220 B
ArmAsm
16 lines
220 B
ArmAsm
|
.extern main
|
||
|
.extern exit
|
||
|
.extern __init_wut_newlibc
|
||
|
|
||
|
.global _start
|
||
|
_start:
|
||
|
stwu 1, -0x8(1)
|
||
|
stw 3, 0(1)
|
||
|
stw 4, 4(1)
|
||
|
bl __init_wut_newlibc
|
||
|
lwz 3, 0(1)
|
||
|
lwz 4, 4(1)
|
||
|
bl main
|
||
|
addi 1, 1, 0x8
|
||
|
b exit
|