下载

2
PIC18 Assembly Language
Programming
2.1 Objectives
After completing this chapter, you should be
able to
■
Explain the structure of an assembly language
program
■
Use assembler directives to allocate memory
blocks and define constants
■
Write assembly programs to perform simple
arithmetic operations
■
Write program loops to perform repetitive
operations
■
Use a flowchart to describe program flow
■
Create time delays of any length using
program loops