O'Reilly logo

Embedded C Programming by Mark Siegesmund

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6

Statements

Abstract

This chapter details each of the C executable statements. Conditional, loop, and jump statements are shown with a narrative, examples, and diagrams. The best use of compound statements and nested statements is fully explained. C labels are included in this chapter for use with the discouraged goto statement.

Source code indentation is shown and explained to improve code readability. Good documentation practices for program control flow are introduced including flowcharts and pseudo-code. This chapter also teaches the reader about standard metrics to determine overall code complexity and maintainability.

Examples and exercises are for the popular PIC microcontroller manufactured by Microchip.

Keywords

Statements ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required