Update x86 assembly slides

This commit is contained in:
dwrz
2026-10-27 12:41:07 +00:00
parent 06a0189e2e
commit cedd1d98ec
+5 -3
View File
@@ -28,12 +28,13 @@ node -e "console.log('Hello, World');"
How does "Hello World" get onto the terminal?
* 5. What does this program do?
Let's try something simpler.
#+begin_src bash
node -e ""
#+end_src
Does it do /anything/?
Does this do /anything/?
* 6. It does /something/.
@@ -355,7 +356,7 @@ What matters is agreement on an approach.
System V AMD64 ABI is calling convention for Unix x64 systems:
- Some registers must be saved by the caller, so callee can use them.
- Some registers must be saved by callee, if the plan to use them later.
- Some registers must be saved by callee, if they plan to use them later.
- Some registers used to pass arguments.
- Stack used to pass extra or large arguments.
- RAX and RDX are used for return values.
@@ -398,11 +399,12 @@ node -e ""
- Insight into how computers work.
- Appreciation for higher level, and work done to get us here.
- A platform to better understand things like functions, closures, APIs, pass by reference and pass by value, performance.
- A few mysteries to leave you curious...
* 36. References / Further Reading
- [[https://www.youtube.com/watch?v=tpIctyqH29Q&list=PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo][Crash Course: Computer Science]]
- Davy Wybiral, [[https://www.youtube.com/playlist?list=PLmxT2pVYo5LB5EzTPZGfFN0c2GDiSXgQe][Intro to x86 Assembly Language]]
- [[https://www.gnu.org/software/gdb/][GDB]]
- Jennifer Rexford, [[https://www.cs.princeton.edu/courses/archive/fall05/cos217/][Princeton COS 217: Introduction to Programming Systems]]
- [[https://en.wikipedia.org/wiki/Structured_program_theorem][Structured Program Theorem]]
- [[https://www.gnu.org/software/gdb/][GDB]]