picorv32/scripts/quartus/firmware.S
2016-08-29 21:12:08 -07:00

12 lines
150 B
ArmAsm

.section .init
.global main
/* set stack pointer */
lui sp, %hi(16*1024)
addi sp, sp, %lo(16*1024)
/* call main */
jal ra, main
/* break */
ebreak