R32V2020 Stack Space
Jump to navigation
Jump to search
- 32-bits address/data
- Push registers under program control before calling as the way to pass variables to routines
- Always pushes the Instruction Pointer when calling subroutines
- It is the responsibility of the programmer to adjust the stack for pushes that they did earlier (after return)
- Finite depth of stack
- Dependent on BlockRAM size
- Always grows up
- Data can be passed on the stack before the Jump Subroutine call
- Data can be pulled relative to the stack address
- Alternately data can be passed via allocated space in the Data BlockRAM