Trigonometric Functions for the HP38C/HP12C

07122017, 08:13 PM
Post: #20




RE: Trigonometric Functions for the HP38C/HP12C
(07122017 07:21 PM)tiptongrange Wrote: I'm having a couple of problems right at the very beginning of the program. First, if I enter 30 and then directly go to R/S without hitting the enter key, the first line of the program will append the 2 to the end of 30 making it the number 302. Pressing R/S is supposed to enable stack lift, i.e. the 2 is not appended to the current number entry. Instead the entered value should get pushed to Y while the 2 is written to X as a separate number. That's how classic HPs behave, including the original 12C. I suppose this is also true for the 12CP but I can't say for sure. (07122017 07:21 PM)tiptongrange Wrote: Second, if I hit enter first, on step 003  Roll Down sends the 2 to the T register, then on step 004  RCL .0 lifts the stack which loses the 2 off the top of the stack. Is this supposed to happen? Yes, sure. The first steps store a 2 in register 6 which then is no longer required, so it is moved out of the way – e.g. with a roll down which brings back the original content of X. The 2 now is in T and finally lost with the following RCL .0. Dieter 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)