|
Section 11: Branching and Looping165
|
|
If you execute DSE from the keyboard, it
simply decrements the specified register just like it would in a
program.
|
|
Example: Here is a program that illustrates how
ISG works. It contains a loop that pauses
to display the current value in register
R10, displays the square of that
number, and uses ISG to control the number
of passes through the loop and the value of the squared number. The
program generates a table of squares of even numbers form 2 through 50.
|
|
|