synth/tools/crt0.s

11 lines
134 B
ArmAsm
Raw Normal View History

2021-02-17 21:20:30 +00:00
.global _start
_start:
set sp, 0
2021-02-23 04:34:54 +00:00
seth sp, 0x11
2021-02-17 21:20:30 +00:00
set r2, main
nop
set r3, 2
add lr, pc, r3
or pc, r2, r2
or pc, pc, pc // loop forever