Thomas Okken wrote:
On the HP-42S, R/S does not enable stack lift, neither when used to interrupt a running program nor when used to start or resume program execution.
The STOP command, in a program, does enable stack lift, though.
Is R/S one of the so-called neutral operations which don't change the stack-lift status? I don't find anything about this class of operations in the HP-42S manuals. Thanks in advance for enlightenment.
EDIT: Consequence: Does this apply to the DM42 as well?
I don't know about "operations" -- R/S starts and stops program execution, without any side effects other than starting and stopping program execution, as far as I'm aware. But this does not apply to the STOP instruction, which R/S happens to insert if you press it in PRGM mode.
And yes, all of this applies to Free42 as well, and thus to the DM42, I would assume.
You mean terminate number entry? If so, yes, just like on the 41, since they treat numbers as atomic entities inside programs rather than as a sequence of digits that are executed separately.
You mean terminate number entry? If so, yes, just like on the 41, since they treat numbers as atomic entities inside programs rather than as a sequence of digits that are executed separately.
Yes, I meant 'terminate number entry' = 'close (numeric) input'. As mentioned above, I couldn't find anything about it in the HP-42S manuals, neither in the OM nor the Programming Examples...
To make it crystal clear: If we'd have a code sniplet
456. Number entry is terminated by everything except [0] through [9], [.], [E], [+/-], Shift, OFF (only Shift-EXIT or automatic power off; it is terminated by the OFF function), and [←].
456. Number entry is terminated by everything except [0] through [9], [.], [E], [+/-], Shift, OFF (only Shift-EXIT or automatic power off; it is terminated by the OFF function), and [←].
You are confusing digit entry and stack lift flag enabled (push flag). They are two different things.
Digit entry is about pressing multiple keys to form a number. On the HP-41 it is always ended when you do something else than add or remove to the number being entered, except for pressing SHIFT or USER keys (which stays in digit entry).
Stack lift disable (called push flag internally) is whether the next number entry lifts the stack or not. ENTER and CLX disables it, some few operations are neutral and most enables it. This is documented in the manuals.
Last edited by hth313 on Tue Nov 03, 2020 11:43 pm, edited 1 time in total.
Stack lift disable (called push flag internally) is whether the next number entry lifts the stack or not. ENTER and CLX disables it, some few operations are neutral and most enables it. This is documented in the manuals.
We're talking about the HP-42S/DM42 here. Please tell me where in the manuals the neutral operations are documented.