1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-27 20:03:32 +04:00
osblog/risc_v/userspace/startlib/start.S

15 lines
222 B
ArmAsm
Raw Normal View History

2020-05-24 20:41:11 +04:00
.section .text
.global _start
_start:
.option push
.option norelax
la gp, __global_pointer$
.option pop
call main
# Exit system call after main
li a0, 93
j make_syscall
.type _start, function
.size _start, .-_start