picorv32/scripts/quartus/firmware.S

13 lines
150 B
ArmAsm
Raw Permalink Normal View History

2016-08-30 12:12:08 +08:00
.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