HP Forums
HP45 Behaviour - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: HP45 Behaviour (/thread-7371.html)



HP45 Behaviour - teenix - 12-05-2016 02:18 PM

Hi all,

I was playing around with the HP-45 emulator and came across this problem

Assume you have a value stored in Memory [1]

(Example: 50 STO 1).

If you do RCL 1, then 50 is placed into the C register and the stack is lifted by one and 50 is displayed as you would expect.

However, when the Enter key is pressed, then the Status register bit 7 is cleared when the code gets back to the main loop.

Now if you press RCL 1, the value is placed into the C register but the stack is not lifted.

Stack 5 Enter 1/x RCL 1
T 0 0 0 0
Z 0 0 0 5
Y 0 5 5 0.2
X 0 5 0.2 50

(Expected) (However)
Stack 5 Enter RCL 1 RCL 1
T 0 0 0 0
Z 0 0 5 0
Y 0 5 5 5
X 0 5 50 50

Anyone know if this happen on a real HP45

cheers

Tony


RE: HP45 Behaviour - teenix - 12-05-2016 03:08 PM

sorry

It's early in the morning, I figured it out

No need for the duplicated entry once the enter key is pressed when another variable is expected

Time for bed

Cheers


RE: HP45 Behaviour - Geoff Quickfall - 12-05-2016 05:49 PM

As they say in the legal profession: "asked and answered."

:-)