mirror of
https://github.com/lewurm/savezelda.git
synced 2024-11-18 00:29:19 +01:00
27 lines
732 B
ArmAsm
27 lines
732 B
ArmAsm
|
.section ".start", "ax"
|
||
|
|
||
|
# FIXME
|
||
|
bptr = 0x806bdc48
|
||
|
|
||
|
0:
|
||
|
.incbin "head.b"
|
||
|
|
||
|
# Smack the stack.
|
||
|
.long 0x11111111, 0x11111111, 0x11111111, 0x11111111
|
||
|
.long 0x11111111, 0x11111111, 0x11111111, 0x11111111
|
||
|
.long 0x11111111, 0x11111111, 0x11111111, 0x11111111
|
||
|
.long 0x11111111, 0x11111111, 0x11111111, 0x11111111
|
||
|
.long 0x11111111, 0x11111111, 0x11111111, 0x11111111
|
||
|
.long 0x11111111, 0x11111111, 0x11111111, 0x11111111
|
||
|
.long 0x11111111, 0x11111111, 0x11111111, 0x11111111
|
||
|
.long 0x11111111, 0x11111111, 0x11111111, 0x11111111
|
||
|
.long 0x11111111
|
||
|
|
||
|
# Return address; namely...
|
||
|
.long 0x805b0f30, 0x11111111, 0x11111111, 0x11111111
|
||
|
|
||
|
# Here.
|
||
|
lis 3,bptr@ha ; lwz 3,bptr@l(3) ; addis 3,3,1 ; mtctr 3 ; bctr
|
||
|
|
||
|
.fill 0x10000 - (. - 0b)
|