TCP SOCKET IN RISC-V ASSEMBLY/GAS (RV64I)
This project is a recreation of Alexey Kutepov's (a.k.a Tsoding) livestream Web in Native Assembly (Linux x86_64), reimplemented in RISC-V assembly. It's also my first exploration of RISC-V assembly programming.
Compilation steps and learning resources attached bellow:
In RISC-V OS with GAS assembler and linker:
make # build make clean # clean
for cross compilation:
make AS=[as-path] LD=[ld-path]
Learning resources:
- RISC-V Linux syscall table
- The dark side of RISC-V linker relaxation
- Global Pointer
- RISC-V Assembler Reference
- RISC-V Instruction Set Reverence
- Correct way to add labels for RISC-V data section
- RISC-V Calling Convention
- Linux kernel system calls for all architectures
- RISC-V Assembly Language
- Easy RISC-V
OS & Toolchains (optional):
