Abstract
This chapter introduces the MSP430 program flow instructions [1]. Program flow instructions alter the location of the program counter to enable looping or conditional execution of code. Program flow instructions are what gives a computer program the ability to make decisions about what to do next (i.e., what code to execute) based on input conditions or the results of certain operations. Examples of program flow instructions are provided to help in understanding how they impact the program counter. Examples are also given on how to implement common programming constructs such as loops and decision statements. It is intended that the reader is coding the examples using the MSP430FR2355 LaunchPad™ board as they go through this chapter.
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). Program Flow Instructions. In: Embedded Systems Design using the MSP430FR2355 LaunchPad™. Springer, Cham. https://doi.org/10.1007/978-3-030-40574-8_8
Download citation
DOI: https://doi.org/10.1007/978-3-030-40574-8_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-40573-1
Online ISBN: 978-3-030-40574-8
eBook Packages: EngineeringEngineering (R0)