Initial commit

This commit is contained in:
Paul Mathieu
2021-02-17 13:20:30 -08:00
commit 363944d417
35 changed files with 3318 additions and 0 deletions

10
tools/crt0.s Normal file
View 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