picorv32/scripts/icestorm/firmware.S

13 lines
142 B
ArmAsm

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