mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
uvm32 initial version
This commit is contained in:
commit
c9d30b6d28
34 changed files with 2088 additions and 0 deletions
10
apps/crt0.s
Normal file
10
apps/crt0.s
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
.section .initial_jump , "ax", %progbits
|
||||
.global _start
|
||||
.align 4
|
||||
_start:
|
||||
# sp is already setup by vm
|
||||
sw ra,12(sp)
|
||||
jal ra, main
|
||||
csrwi 0x138,0 # halt
|
||||
.section .data
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue