mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-24 02:16:19 +04:00
15 lines
203 B
ArmAsm
15 lines
203 B
ArmAsm
|
.section .text
|
||
|
.global make_syscall
|
||
|
make_syscall:
|
||
|
mv a7, a0
|
||
|
mv a0, a1
|
||
|
mv a1, a2
|
||
|
mv a2, a3
|
||
|
mv a3, a4
|
||
|
mv a4, a5
|
||
|
mv a5, a6
|
||
|
ecall
|
||
|
ret
|
||
|
.type make_syscall, function
|
||
|
.size make_syscall, .-make_syscall
|