rulimine/common/sys/sbi.asm_riscv64

20 lines
352 B
Plaintext
Raw Normal View History

2023-06-20 14:24:49 +03:00
.section .text
.global sbicall
sbicall:
2023-08-01 13:06:40 +03:00
.option norelax
mv t0, a0
mv t1, a1
mv a0, a2
mv a1, a3
mv a2, a4
mv a3, a5
mv a4, a6
mv a5, a7
mv a7, t0
mv a6, t1
ecall
ret
.section .note.GNU-stack,"",%progbits