26 Section 2: Memory Stack, LAST X, and Data Storage
K also makes it easy to recover from keystroke mistakes, such as executing
the wrong function or keying in the wrong number. For example, to divide 287
by 13.9 after you have mistakenly divided by 12.9:
Keystrokes Display
287v
287.0000
12.9÷
22.2481
Oops! The wrong
divisor.
´K
12.9000
Retrieves from LAST X
the last entry to the X-
register (the incorrect
divisor) before ÷ was
executed.
*
287.0000
Performs the reverse of
the function that
produced the wrong
answer.
13.9÷
20.6475
The correct answer.
Constant Arithmetic
Using the LAST X register (described above)
is one way to perform arithmetic with a
constant. Another way is by filling the stack
with the constant number. The method used