RISC-V Assembly Hello World (Part 1)
LaurieWired LaurieWired
129K subscribers
28,513 views
1.4K

 Published On Jul 19, 2023

In this video, we learn about the RISC-V instruction set architecture. We setup and run an initial program to call the exit syscall.

---

Timestamps:
00:00 Intro
00:35 ISA Background
01:11 Initial Setup
01:45 Make Code Visible to the Linker
02:54 Exit Syscall
04:02 RISC-V Assembly Programmer's Handbook
05:55 Load Immediate
06:36 Linux Kernel System Call Table
07:24 A7 Is Important
07:55 ECALL
08:32 Generating Executable
10:37 Part 2 (More Instructions)
10:58 Recap

---

Links Mentioned in Video:

Risc-V Reference Manual:
https://riscv.org/wp-content/uploads/...

Syscall Reference:
https://marcin.juszkiewicz.com.pl/dow...

Exit Manpage:
https://man7.org/linux/man-pages/man3...


---
laurieWIRED Twitter:
  / lauriewired  

laurieWIRED Website:
http://lauriewired.com

laurieWIRED Github:
https://github.com/LaurieWired

laurieWIRED HN:
https://news.ycombinator.com/user?id=...

laurieWIRED Reddit:
  / lauriewired  

show more

Share/Embed