The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Question about Stack and Roll
07-01-2016, 02:03 PM
Post: #1
Question about Stack and Roll
Hi all.
I have a question for the RPN experts.
To refresh my RPN skills, I am re-reading the original manual of the HP-15C, the Owner's Handbook. I dont' have the original HP-15C, but several Android emulators.
The question is this:
Page 34 of the manual reports the simple example that fills the four registers with the digits 1, 2, 3 and 4.
The normal method is obviously:
1) 1
2) Enter
3) 2
4) Enter
5) 3
6) Enter
7) 4

At this point, with the Roll Down key is possible to inspect and verify the contents of the registers.

My problem is that if I use Roll Down to inspect the register contents after each Enter of the previous sequence (returning each time to the X register) I found at the end that the registers are filled with the sequence:
T: 2.0000
Z: 3.0000
Y: 3.0000
X: 4.0000

This surprises me, because I was expecting the sequence 1, 2, 3, 4.
Probably I am missing some subtlety of the RPN Roll behaviuor, could you please help me to understand what happens?
Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Question about Stack and Roll - Antlab - 07-01-2016 02:03 PM
Must be a bad emulator - striegel - 07-01-2016, 02:53 PM
RE: Question about Stack and Roll - wojtek - 07-01-2016, 03:16 PM
RE: Question about Stack and Roll - wojtek - 07-01-2016, 03:38 PM
RE: Question about Stack and Roll - wojtek - 07-01-2016, 04:20 PM
RE: Question about Stack and Roll - wojtek - 07-01-2016, 06:38 PM
RE: Question about Stack and Roll - Antlab - 07-01-2016, 07:07 PM
RE: Question about Stack and Roll - Antlab - 07-02-2016, 04:52 PM



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