Exchanging The X- And Y-Registers In The Stack; Arithmetic - How The Stack Does It - HP 33s User Manual

Scientific
Hide thumbs Also See for 33s:
Table of Contents

Advertisement

Exchanging the X– and Y–Registers in the Stack
Another key that manipulates the stack contents is
swaps the contents of the X– and Y–registers without affecting the rest of the stack.
w
Pressing
twice restores the original order of the X– and Y–register contents.
w
The
function is used primarily to swap the order of numbers in a calculation.
For example, one way to calculate 9
Ï
Press 13
8
The keystrokes to calculate this expression from left–to–right are:
Ï
Ï
9
13
Always make sure that there are no more than four numbers in the
Note
stack at any given time — the contents of the T–register (the top
register) will be lost whenever a fifth number is entered.
Arithmetic – How the Stack Does It
The contents of the stack move up and down automatically as new numbers enter
the X–register (lifting the stack) and as operators combine two numbers in the X–
and Y–registers to produce one new number in the X–register (dropping the stack).
Suppose the stack is filled with the numbers 1, 2, 3, and 4. See how the stack drops
and lifts its contents while calculating
1. The stack "drops" its contents. The T–(top) register replicates its contents.
2. The stack "lifts" its contents. The T–register's contents are lost.
2–4
RPN: The Automatic Memory Stack
¸
w ¯
9
.
¸ ¯
8
.
w
(x exchange y). This key
(13
8):

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2216a - 33s scientific calculator

Table of Contents