“This is the 20th day of my participation in the First Challenge 2022. For details: First Challenge 2022.”
preface
This article focuses on how defer is stored on the stack.
Heap allocation
Heap allocation is divided into the following steps:
- Calculates the stack pointer registers, the register values of the program counter, and the position of the function parameters in the stack