Trigonometric Functions for the HP-38C/HP-12C
07-12-2017, 08:13 PM
Post: #20
 Dieter Senior Member Posts: 2,397 Joined: Dec 2013
RE: Trigonometric Functions for the HP-38C/HP-12C
(07-12-2017 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.

(07-12-2017 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 »

 Messages In This Thread Trigonometric Functions for the HP-38C/HP-12C - bshoring - 03-25-2016, 03:30 AM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 03-25-2016, 04:51 AM RE: Trigonometric Functions for the HP-38C/HP-12C - tiptongrange - 07-12-2017, 03:17 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 07-12-2017, 05:00 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 07-12-2017, 06:01 PM RE: Trigonometric Functions for the HP-38C/HP-12C - tiptongrange - 07-12-2017, 07:21 PM RE: Trigonometric Functions for the HP-38C/HP-12C - rprosperi - 07-12-2017, 08:04 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Dieter - 07-12-2017 08:13 PM RE: Trigonometric Functions for the HP-38C/HP-12C - bshoring - 03-25-2016, 02:54 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 03-25-2016, 03:14 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 03-25-2016, 09:22 PM RE: Trigonometric Functions for the HP-38C/HP-12C - bshoring - 03-26-2016, 08:21 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 03-26-2016, 09:38 PM RE: Trigonometric Functions for the HP-38C/HP-12C - bshoring - 03-27-2016, 11:50 PM RE: Trigonometric Functions for the HP-38C/HP-12C - bshoring - 03-27-2016, 02:43 AM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 03-27-2016, 03:08 AM RE: Trigonometric Functions for the HP-38C/HP-12C - bshoring - 03-27-2016, 03:14 AM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 03-27-2016, 05:04 AM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 03-27-2016, 11:08 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 03-28-2016, 12:25 AM RE: Trigonometric Functions for the HP-38C/HP-12C - tiptongrange - 07-12-2017, 09:25 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Dieter - 07-12-2017, 09:36 PM RE: Trigonometric Functions for the HP-38C/HP-12C - tiptongrange - 07-12-2017, 10:14 PM RE: Trigonometric Functions for the HP-38C/HP-12C - Gerson W. Barbosa - 07-12-2017, 11:04 PM

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