Click here to start

Table of contents

Lecture 4 Program Loops and Arrays

Indexed Addressing

Slide 3

Indexed Addressing

Program Structure

Subroutine Call Overview

Stack Instructions


Slide 9

Looping-do while


Decisions-if else

Loading Data in an Array

Loading Data in an Array

Using a Terminator

Debugger Break Points

Slide 17

Laboratory 4.1 : Arrays

Slide 19

Multibyte Addition

Searching a List Using a Terminator

Laboratory 4.2 Search in a table

Instruction Timing

Delay Loop

Slide 25

Laboratory 4.3 : Stepper Motor

Assembler Directives

Laboratory 4.4 : Loop Delay, External References


Author: Richard Pfile and Stanley Chien

Edited by: Sarah Koskie, Fall 2003