WRPN uses 64 bit word variables as the internal representation for integer numbers. When dealing with floating point numbers, the numbers are stored in a typical 8 byte IEEE floating point format.
WRPN has 5 internal registers, 4 of which are arranged in a LIFO stack. They are:
Values pushed "off the top" of the stack (beyond stack 3) are lost. However, the value at the top of the stack is preserved when values are "popped".
The bottom of stack (the X register) is the value which is always shown in the display.
The Last X variable contains the previous value of the X register.
There are 5 flags: