First page Back Continue Last page Overview Graphics

Lecture 4: Program Loops and Arrays


Indexed addressing is presented in this module because it is necessary for implementing arrays.

Arrays can often be used to simplify programs or handle program data. It’s unusual to write a significant program without using arrays.

Program structures that correspond to C language structures are presented. These structures can be used as building blocks that implement flow charts or pseudo code.

A simple delay loop is also introduced. These are useful for short delays, but would tend to lock up a program if used for lengthy delays. Later in the course, the concept of an interrupt delay is presented.