HP16C logical operations (g shift + the keys in the "lower right corner")
|
09-20-2016, 03:27 PM
(This post was last modified: 09-20-2016 04:24 PM by Hsilop.)
Post: #1
|
|||
|
|||
HP16C logical operations (g shift + the keys in the "lower right corner")
Are the g-shifted logical operations in the "lower right corner" of the keyboard (the 0-3 digits, + and -, decimal point (.) and CHS keys) supposed to produce any result when used outside of a program?
I was expecting them to work on values entered on the stack, but nothing seems to happen in the display. One might expect some value(s) to be popped off the stack, and some new value to be pushed onto it - but that would change the stack which might not be desirable if some later operation (in a program) needs the value(s) in the x (and y) registers. PS: I should mention that I tried this on a Swiss Micros DM16L, not a HP 16C, but then they should work the same - shouldn't they? |
|||
09-20-2016, 04:04 PM
Post: #2
|
|||
|
|||
RE: HP16C logical operations (g shift + the keys in the "lower right corner")
They disable stack lift outside a program, that seems to be it.
I could not see any comments about their behavior outside program in the manual and I tried it on a real HP-16C. |
|||
09-20-2016, 04:10 PM
Post: #3
|
|||
|
|||
RE: HP16C logical operations (g shift + the keys in the "lower right corner")
They have also some effect on the program pointer when executed outside of a program , but they are not intended for that, they are intended to be used inside a program: If comparison is true, program execution continues; if false, program execution skips one line before continuing.
|
|||
09-21-2016, 05:53 AM
Post: #4
|
|||
|
|||
RE: HP16C logical operations (g shift + the keys in the "lower right corner")
You guys are right - The Program pointer might be affected, but otherwise the stack is untouched. The operations do NOT disable stack lift though.
|
|||
09-21-2016, 03:05 PM
Post: #5
|
|||
|
|||
RE: HP16C logical operations (g shift + the keys in the "lower right corner") | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)