HP Forums

Full Version: [WP34S] Register use by functions.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Is there any documentation related to which registers functions like NORML, RAN#, and ISG use internally when called? In particular I use the REG I for using STO->I my results into R00-R99. Sometimes REG I is affected by some program function. REGs J,K seem stable for probability distribution parameters. I am not using complex numbers.

As a rule, internal functions do not make any changes to your state. At least unless that is the whole purpose of the function.

Register I is the complex equivalent of last X (L). Thus, complex operations change I, but nothing else should. J and K hold statistical distribution parameters -- refer to the manual for details as they vary, these are never changed. A, B, C & D are either general purpose or part of the stack. X, Y, Z, T & L are part of the stack and last X.

You three examples in turn:

Norml takes the mean from J, the variance from K and does the appropriate statistical calculation.

RAN# uses special internal state and accesses no registers.

ISG uses the register you give it as an argument and no others.

- Pauli


Many thanks for your detailed answer. I appreciate that very much.

I must be doing something wrong in the program lines.

I assume that you are one of the original inventors of the 34S concept and I want to thank you and the others for this great project. Not only is your concept implementation creating the world's greatest scientific calculator, but I truly believe that the 34S is the world's best business calculator as well. Using the probability distributions and their inverses one can get a better picture of say stock or option prices and strike prices than what a simple deterministic or stock graph will provide. Further I can generate stock data from the inverse cumulative dist. and thus do Monte Carlo simulations which help in wait time studies between low/high stock prices. The 34S gives all this to me faster and wherever I am located. You guys are changing the business world too. The 34S is awesome!



Yes, I'm the P from the device name :-)

I doubt we're changing the business calculator world, we're missing way too much functionality for that.

- Pauli


Please take a look to page 20 - it should answer your questions regarding I, J, and K.

I have found the best way to debug programs now is to use the emulator with the T flag set (trace) and the HP82240B emulator running. You get a complete trace in all it's glorious details.

I can't image using this with a real printer - the amount of paper I'd go through...