Skip to main content
  • 2676 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Reference

  1. 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

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics