Section 8: Program Branching and Controls 91
of this loop can be controlled by a conditional branch, an ¦ instruction
(written into the loop), or simply by pressing any key during execution
(which stops the program).
Conditional Tests
Another way to alter the sequence of program execution is by a conditional
test, a true/false test which compares the number in the X-register either to
zero or to the number in the Y-register. The HP-15C provides 12 different
tests, two explicit on the keyboard and 10 others accessible using |
T n.
*
1. Direct: | £ and | ~ .
2. Indirect: | T n.