mirror of https://github.com/YosysHQ/picorv32.git
13 lines
142 B
ArmAsm
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 */
|
||
|
sbreak
|