Question about Stack and Roll
|
07-01-2016, 07:33 PM
(This post was last modified: 07-01-2016 07:44 PM by Guenter Schink.)
Post: #11
|
|||
|
|||
RE: Question about Stack and Roll
(07-01-2016 02:03 PM)Antlab Wrote: Hi all. It's the same on the real 15c. When you enter "1" "Enter" "Rdn" you'll recognise that at the first "Rdn" the "1" blinks shortly and only the next "Rdn" will show another value. If you don't enter other values rather than continue pushing "Rdn" you'll see that "1" is twice on the stack. And this happens consequently as you continue to enter the numbers 2,3,and 4 this way. The two "1s" and one of the duplicate "2s" are pushed from the stack, leaving one remaining "2", the two "3s" and finally the "4". Page 33 of the manual. "enter"copies the number in the display to the y-register and prepares the x-register (display) for another input. But when you don't enter a number but execute a function (e.g. sin, ln) this will be done on the x-register. "Rdn" also is such a function, therefore you end up with the y and x-register having the same content and actually the "Rdn" didn't do a roll down yet. HTH, Günter Edit: have a look at appendix B "Stack lift ..." |
|||
« Next Oldest | Next Newest »
|
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
Expected behavior would not drop the 1 from the stack - striegel - 07-01-2016, 03:27 PM
RE: Question about Stack and Roll - wojtek - 07-01-2016, 03:38 PM
RE: Question about Stack and Roll - Sylvain Cote - 07-01-2016, 04:05 PM
RE: Question about Stack and Roll - wojtek - 07-01-2016, 04:20 PM
RE: Question about Stack and Roll - Sylvain Cote - 07-01-2016, 06:18 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 - Guenter Schink - 07-01-2016 07:33 PM
RE: Question about Stack and Roll - Antlab - 07-02-2016, 04:52 PM
RE: Question about Stack and Roll - Guenter Schink - 07-02-2016, 06:24 PM
|
User(s) browsing this thread: 1 Guest(s)