Contents 7
Flags ........................................................................................... 92
Examples ....................................................................................... 93
Example: Branching and Looping .............................................. 93
Example: Flags ........................................................................... 95
Further Information ...................................................................... 97
Go To .......................................................................................... 97
Looping ...................................................................................... 98
Conditional Branching ................................................................ 98
Flags ........................................................................................... 98
The System Flags: Flags 8 and 9 ............................................... 99
Section 9: Subroutines .................................................................... 101
The Mechanics ............................................................................... 101
Go To Subroutine and Return .................................................... 101
Subroutine Limits ....................................................................... 102
Examples ....................................................................................... 102
Further Information ...................................................................... 105
The Subroutine Return .............................................................. 105
Nested Subroutines ................................................................... 105
Section 10: The Index Register and Loop Control ......................... 106
The V and % Keys ................................................................... 106
Direct Versus Indirect Data Storage With the Index Register ..... 106
Indirect Program Control With the Index Register .................... 107
Program Loop Control ............................................................... 107
The Mechanics ............................................................................... 107
Index Register Storage and Recall ............................................. 107
Index Register Arithmetic .......................................................... 108
Exchanging the X-Register ........................................................ 108
Indirect Branching With V ...................................................... 108
Indirect Flag Control With V ................................................... 109
Indirect Display Format Control With V ................................. 109
Loop Control with Counters: I and e ............................ 109
Examples ....................................................................................... 111
Examples: Register Operations ................................................. 111
Example: Loop Control With s ............................................ 112
Example: Display Format Control .............................................. 114
Further Information ...................................................................... 115
Index Register Contents ............................................................ 115
I and e ........................................................................... 116
Indirect Display Control ............................................................. 116