First page Back Continue Last page Overview Graphics

Program Structure


Good looping and branching techniques help provide a proper structure to a program by allowing loops to be represented as a single block with one entry and one exit point.

The assembly code equivalents for several C language structures will be presented in the following slides. while, do-while, and for are looping structures, and if-else is a branching structure. These constructs provide an implementation framework.