Post Reply 
HP45 stack logic problem
04-14-2014, 05:25 PM
Post: #5
RE: HP45 stack logic problem
(04-14-2014 05:02 PM)Commie Wrote:  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

As Jake pointed out, when you press the '3', the stack lifts, moving 30 up into the t register (and the others lift as well). Subsequent to that, when the stack drops after the power function, the t register auto-copies (30) into z, z to y, etc. So the result is indeed what should be expected.

Why are you expecting 0's in the t and z registers? Where would the 0 come from?

--Bob Prosperi
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)