blob: 0cda882ee1e3981464857b4e664a78d3110ddd53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
.include "macros.inc"
.section .text, "ax"
.global TRK_main
TRK_main:
mflr r0
stw r0, 4(r1)
stwu r1, -8(r1)
bl TRKInitializeNub
lis r4, TRK_mainError@ha
stwu r3, TRK_mainError@l(r4)
lwz r0, 0(r4)
cmpwi r0, 0
bne lbl_8008BFF8
bl TRKNubWelcome
bl TRKNubMainLoop
lbl_8008BFF8:
bl TRKTerminateNub
lis r4, TRK_mainError@ha
stw r3, TRK_mainError@l(r4)
addi r1, r1, 8
lwz r0, 4(r1)
mtlr r0
blr
.section .bss, "wa"
TRK_mainError:
.skip 0x18
|