Forgot to set up stack pointer

This commit is contained in:
R
2024-04-12 18:19:02 +01:00
parent 388fbaec91
commit 31b95e7318
+2
View File
@@ -21,6 +21,8 @@ _start:
addi a1, a1, 4
bltu a1, a2, 1b
2:
// Load stack pointer
la sp, _eusrstack
// Clear bss section
la a0, _sbss