tinyriscv/tests/example/reset.S

16 lines
163 B
ArmAsm

.section .text;
.align 2;
.globl _reset;
_reset:
la sp, _sp
li x26, 0x00
li x27, 0x00
call main
li x26, 0x01
loop:
j loop