Assembly code to build the stack frame
Vložit
- čas přidán 11. 11. 2020
- This video series starts at the very beginning and shows each step in the design of modern computing hardware. From bits to gates to registers to CPU. A followup video series will show how the CPU is expanded with modern techniques like cache, pipelining and multiprocessing.
This video really cleared up my confusions, thanks!
Thanks a lot for your excellent video! Had one question: in the callee ending part, when retrieving the stored value to $s0 and $ra, why the code still use $sp as the base(I mean, stuff like 0($sp) and 4($sp)), while $sp may have been changed? I think use $fp as the base would be safer