5.1 Using Absolute Addressing
................................
51
5.2 Demonstration of "Pipelining" Effect
....................
54
5.3 Illustration of Implied Addressing
......................
58
5.4 Illustration of Immediate Addressing
....................
59
5.5 Illustration of Absolute Addressing
......................
60
5.6 Illustration of Zero Page Addressing
....................
62
5.7 Illustration of Relative Addressing; Branch Not Taken. . . 63
5.8 Illustration of Relative Addressing; Branch Positive
Taken, No Crossing of Page Boundaries................64
5.9 Illustration of Relative Addressing; Branch Negative
Taken, Crossing of Page Boundaries....................65
CHAPTER 5 NON-INDEXING ADDRESSING TECHNIQUES
CHAPTER 6 INDEX REGISTERS AND INDEX ADDRESSING CONCEPTS
6.1 Moving Five Bytes of Data with Straight Line Code
........
70
6.2 Moving Five Bytes of Data with Loop
......................
72
6.3 Coded Detail of Moving Fields with Loop
..................
73
6.4 Moving Five Bytes of Data with Index Register
............
76
6.5 Moving Five Bytes of Data by Decrementing the Index
Register.
.
.........................
.
.........
..
77
6.6 Absolute Indexed; with No Page Crossing
............
.
79
6.7 Absolute Indexed; with Page Crossing
..............
.. 80
6.8 Illustration of Zero Page Indexing
................
.. 82
6.9 Demonstrating the Wrap-Around
............................ 83
6.10 Illustration of Indexed Indirect Addressing
........
.. 86
6.11 Indirect Indexed Addressing (No Page Crossing) . .
......
88
6.12 Indirect Indexed Addressing (with Page Crossing) .
......
89
6.13 Absolute Indexed Add— Sample Program
...........
.......
90
6.14 Indexed Indirect Add— Sample Program
...........
.......
90
6.15 Move N Bytes (N < 2 5 6 )
..........................
.
94
6.16 Move N Bytes (N > 2 5 6 )
..........................
.
95
CHAPTER 8 STACK PROCESSING
8.1 Basic Stack Map for 3-Deep JMP to Subroutine
............
104
8.2 Basic Stack Operation.
.................................. 105
8.3 Illustration of JSR Instruction
..........................
106
8.4 Illustration of RTS Instruction
..........................
109
8.5 Memory Map for RTS Instruction
..........................
Ill
8.6 Expansion of RTS Memory Map
.............................. Ill
8.7 Call-a-Move Subroutine Using Preassigned Memory Locations. 116
8.8 Operation of PHA, Assuming Stack at 0 1 F F ................118
8.9 Operation of PLA Stack from Example 8.8..................119
8.10 Call-a-Move Subroutine Using the Stack to Communicate. . . 119
8.11 Jump to Subroutine (JSR) Followed by Parameters
..........
121
viii