Abstract
This chapter introduces the concept of a stack as a means to dynamically store information in data memory [1]. It then looks into the details of how the stack is implemented on the MSP430. The subroutine is then introduced with details on how the stack is used to store the return address of the routine upon subroutine exit.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Reference
Texas Instruments Inc. (2019). MSP430FR4xx and MSP430FR2xx Family User’s Guide, Literature Number: SLAU445I, October 2014 – Revised March 2019. Retrieved from: https://www.ti.com/lit/ug/slau445i/slau445i.pdf
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
LaMeres, B.J. (2020). The Stack and Subroutines. In: Embedded Systems Design using the MSP430FR2355 LaunchPad™. Springer, Cham. https://doi.org/10.1007/978-3-030-40574-8_10
Download citation
DOI: https://doi.org/10.1007/978-3-030-40574-8_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-40573-1
Online ISBN: 978-3-030-40574-8
eBook Packages: EngineeringEngineering (R0)