picorv32/scripts/vivado/firmware.S
2015-07-09 02:48:14 +02: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 */
sbreak