3 ms·
If you're already familiar with arm64 assembly language then just read the RISC-V ISA manual. It's short and simple. https://riscv.org/technical/specifications
by brucehoult 3y ago
If you're already familiar with arm64 assembly language then just read the RISC-V ISA manual. It's short and simple.
https://riscv.org/technical/specifications/ https://riscv.org/technical/specifications/
riscv64 Linux syscall numbers are the same as arm64 ones. Just put the syscall number into `a7` instead of `x8`. And args in `a0`..`a3`, obv. Use `ecall` instead of `svc 0`. Boom!