CHAPTER 5 Building Assembler programs

In Chapter 4 the basic rules of Assembler programming were introduced, along with some of the instructions from the PIC 16 Series instruction set. It's as if we have now learned some introductory skills in bricklaying. We need to develop those skills further, but we need to begin to think about the structures that the bricks are going to be built into. Therefore we now need to develop this introductory knowledge, so that we can actually build up programs that have structure and are functional and reliable.

In this chapter you will learn:

  • • How to visualise a program and represent it diagrammatically.

  • • How to use program branching and subroutines.

  • • How to implement delays.

  • • How to use look-up tables. ...

Get Designing Embedded Systems with PIC Microcontrollers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.