Post Reply 
4-level stack manipulation on 12c
03-05-2015, 03:34 PM
Post: #34
RE: 4-level stack manipulation on 12c
(03-05-2015 01:01 PM)Dieter Wrote:  
(03-04-2015 04:54 PM)Gerson W. Barbosa Wrote:  I find this feature very handy, so much I don't mind spending two extra steps:

If two more steps are fine, simply replace the R↑ in my suggestion with 3x R↓ ;-)

Code:
01  ENTER
02  ENTER
03  CLx
04  +
05  R↓
06  /
07  INT  (or IP)
08  R↓
09  R↓
10  R↓
11  x
12  -

Looking at your solution I have two questions:

Code:
   HP-12C           HP 12c Platinum

01 f RND            001 f RND
02   Rv             002   Rv
03   ENTER          003   ENTER
04   ENTER          004 g LSTx
05 g LSTx           005   /
06   /              006 g LSTx
07 g LST            007   x<>y
08   x<>y           008 g INTG
09 g INTG           009   *
10   *              010   CHS
11   CHS            011   +
12   +              012 g GTO 000
13 g GTO 00

First, is there a special reason why you chose [CHS] [+] instead of a simple [–] ?
Second, the 12C Platinum version uses just one ENTER instead of two in the standard 12C version. Is the Platinum actually different in this regard?

Dieter

1) Yes, my blindly copying and pasting my own code :-) That CHS + sequence (steps 134 and 135) made sense following g x<=y (step 133), but obviously not here. Thanks for spotting that!

Fast and Accurate Trigonometric Functions on the HP-12C Platinum (Virtual version here)

2) There are some issues regarding stack-lift when comparing both calculators. This appears to be one of them. Others have been mentioned here and here, for instance.

Gerson.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 4-level stack manipulation on 12c - Gerson W. Barbosa - 03-05-2015 03:34 PM



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