APPENDIX H: ADDITIONAL INFORMATION FOR ADVANCED USERS
The information provided here may ease your work when you are going to do advanced
computations, especially programming. This section also covers optional hardware
modifications (see p. 192). All the topics collected here require special care and/or a
deeper understanding of the respective 'mechanics' of the WP 34S – else you might be
surprised by the consequences. Use the information provided in this appendix at your
own risk!
Changing Word Size in Integer Modes
Increasing or reducing the word size in integer modes will affect the current stack contents
only (see the description of WSIZE in the IOP). All other memory content of your WP 34S
will stay as is. This differs from the implementation as known from the HP-16C, where all
registers were remapped on word size changes.
See the following
and with the stack filled with F12E:
F12E
I
old stuff
L
F12E
T
F12E
Z
F12E
Y
F12E
X
Input
ATTENTION: Note that increasing the word size will just add empty bits to the
significant side. Thus, a negative integer will immediately become positive then.
There is no automatic sign extension! If you want it, you will have to take care
of it yourself.
Mode Storing and Recalling
The command STOM stores mode data in a register. The following table shows more
details. Types are coded G for general, F for fractions, D for decimal, and I for integer.
Bits
Type Contents
0 ... 3
G
4, 5
F
6 ... 19
F
20
F
21
F
WP 34S Owner's Manual
example
starting with your WP 34S in BASE 16, WSIZE 16, SSIZE 4,
F12E
old stuff
F12E
F12E
F12E
E61
E61
LCD contrast setting (0 ... 7, always 4 for the emulator)
Fractions denominator mode (DENANY = 0, DENFAC = 1, DENFIX = 2)
DENMAX (14 bits for 0 ... 9999)
Clear for PROFRC, set for IMPFRC
Set if fraction mode is on
F12E
F12E
E61
61
F12E
2E
F12E
2E
F12E
2E
FF8F
8f
WSIZE 8
Edition 3.1
F12E
F12E
61
61
2E
2E
2E
2E
8F
8F
2E
2E
WSIZE 16
Page 184 of 211
F12E
2E
2E
2E
2E
19b2