R32V2020 Stack Space
Revision as of 11:52, 10 April 2022 by Blwikiadmin (talk | contribs) (Created page with "* 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 subr...")
- 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