Chapter 8

Data and control structures


The chapter begins with introduction to some assembly language concepts and to program structures, both necessary for implementing code and structuring it correctly. The section on data structures shows the programmer the standard alphanumeric table, ASCII. Under character operations, two detailed programs are presented. One program counts the number of characters in a string. The second does a pattern matching scheme to determine whether two strings are the same or different. Finally, the four control structures (Function, Sequence, Alternation, and Repetition) presented in Chapter 7 are reviewed with implementation code for each structure.


Config; #Define; Alphanumeric; ASCII; EBCDIC; Pattern; ...

Get The Art of Assembly Language Programming Using PIC® Technology now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.