The Museum of HP Calculators

HP Forum Archive 08

[ Return to Index | Top of Index ]

I found the command which was interesting to HP-15C.
Message #1 Posted by Hiroshi Ito on 10 June 2002, 10:24 a.m.

I found the command which was interesting to HP-15C. (HP-15C S/N 2417A 88311 made in U.S.A.)

Is even your HP-15C reproduced? Is the command which doesn't appear in the manual like this example and which moreover can be used found as to other models?

$ 001- 44 36 STO ENTER $ 002- 42 34 CLEAR REG $ 003- 45 36 RCL ENTER $ 004- 31 R/S

(I wrote this article in the bulletin board of SYC in Japan as well.)

      
Re: I found the command which was interesting to HP-15C.
Message #2 Posted by thibaut.be on 10 June 2002, 10:37 a.m.,
in response to message #1 by Hiroshi Ito

I suppose that you want to show that the "ENTER" reg is not "clearable", at least by f CLEAR REG.

Actually by doing this you are "feeding" the "seed" registry of the f RAN# function, to generate a pseudo-random number. The "seed" is automatically regenerated when you use the f RAN# function, but in order to avoid always the same sequence (beginning with 0.1018,... if I can recall), it is requested to key in an aribtrary value by doing STO ENTER.

I don't have the 15C manual here, but I guess it is correctly explained in the RAN# function section.

Best regards,

Thibaut

            
Re: I found the command which was interesting to HP-15C.
Message #3 Posted by Barry Schwartz on 10 June 2002, 1:57 p.m.,
in response to message #2 by thibaut.be

The previous response was correct. As explained in the HP15C manual on page 48, the sequence STO f RAN# stores the number in the X register as a new random number seed. A value outside of the range of 0 to 1 is converted to fit within that range. As also noted on page 49, the f keystroke may be omitted for this command in which case STO f RAN# is equivalent to STO ENTER since RAN# is a shift function of the ENTER key. Also the sequence RCL f RAN# recalls the last random number generated which becomes the new random number seed. As also noted in the manual, the f is also not required for this command so that this sequence is equivalent to RCL ENTER. Thus there is no mystery and no undocumented HP15C function. However careful reading of the manual is required sometimes to explain what may appear to be mysterious operations.

                  
Re: I found the command which was interesting to HP-15C.
Message #4 Posted by Hiroshi Ito on 11 June 2002, 11:59 a.m.,
in response to message #3 by Barry Schwartz

I confirmed a manual. Your indication is right. I thought with the new discovery, and glad. But, it is disappointing because it was my mere misunderstanding.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall