|
Section 3: Automatic Memory Stack and ALPHA Register45
|
|
|
|
The stack now looks like this:
|
|
|
T
|
2.0000
|
|
Z
|
1.0000
|
|
Y
|
4.0000
|
|
X
|
3.0000
|
|
|
Continue pressing R until the stack returns
to the original position.
|
|
|
|
|
Four presses of the R function will roll the
stack down four times, returning the stack contents to their original registers.
|
|
The R (roll up) function works the same
way as R except that
R rolls the stack contents up instead
of down.
|
|
Exchanging x and y
|
|
The X Y (x exchange y) function
exchanges the contents of the X- and Y-registers without changing the contents
of the Z- and T-register. If you press X Y
with data intact from the previous example, the numbers in the X- and
Y-registers will be changed...
|
|
...from this...
|
...to this.
|
|
|
|