Initial commit
This commit is contained in:
10
tools/crt0.s
Normal file
10
tools/crt0.s
Normal file
@@ -0,0 +1,10 @@
|
||||
.global _start
|
||||
_start:
|
||||
set sp, 0
|
||||
seth sp, 0x01
|
||||
set r2, main
|
||||
nop
|
||||
set r3, 2
|
||||
add lr, pc, r3
|
||||
or pc, r2, r2
|
||||
or pc, pc, pc // loop forever
|
||||
Reference in New Issue
Block a user