Post Reply 
HP45 stack logic problem
04-14-2014, 05:02 PM
Post: #3
RE: HP45 stack logic problem
(04-14-2014 04:09 PM)Jake Schwartz Wrote:  Hi,

If I followed you correctly, once you keyed the "3" in order to compute 35^3, everything moved up a level and the zero in t was replaced with the 30 from z. Then the y^x would subsequently cause the 30 in t to be replicated back down into z. Had the stack been one more level high, the zero would have been retained.

Jake

Hi Jake,

Basically yes, but you start with
0=t
30=z
30=y
35=x

the above is what you start with by pressing, 30 enter enter 35 exchange.

Now, if you add,subtract,divide or multiply then the stack will be:
0=t
0=z
30=y
answer = x

hence, t has moved to z, z moved y and the answer resides in x.At this point, my HP45 does follow the above logic except the y^x command.

Again start with,

0=t
30=z
30=y
35=x

Now press 3 2ndf Y^x(hence 35^3), and the returned stack is,
30=t
30=z
30=y
answer in x

when in fact the stack should be
0=t
0=z
30=y
answer in x

I appreciated the complications and difficulties involved trying to explain this but I would be interested in any answers given.Thanks for your time.

Cheers
Commie
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP45 stack logic problem - Commie - 04-14-2014, 03:24 PM
RE: HP45 stack logic problem - Commie - 04-14-2014 05:02 PM
RE: HP45 stack logic problem - rprosperi - 04-14-2014, 05:25 PM
RE: HP45 stack logic problem - Commie - 04-14-2014, 05:44 PM



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