A gentle intro to assembly with Rust
lfn3.net
lfn3.net
There's really no need to save rax here; I know that optimizations are off but I'm still curious why rustc thinks this is necessary…
Stacks, stack frames .bss, heap etc. And variable scoping and where doesn’t it store hence.
And interesting issues like interrupt, memory mapped io (volitile ) etc.
Plus many low end features like CAN ...
Only do c and assembly (ignore 370) and the mapping is not easy.