Post Reply 
DM42 and labels
05-20-2020, 12:19 AM (This post was last modified: 05-20-2020 03:12 AM by rprosperi.)
Post: #21
RE: DM42 and labels
(05-19-2020 10:53 PM)Sylvain Cote Wrote:  
(05-19-2020 09:17 PM)rprosperi Wrote:  I guess I didn't realize that a RTN, with no pending return stack just does a STOP.
Same behaviour on all RPN programmable since HP-67.

Not so. On some (many?, few?) machines, when you reach a RTN, it goes back to step 000 first, and then stops.

Here's an HP-34C program fragment:

Code:
01 LBL-A
02 5
03 0
04 0
05 0
06 ENTER
07 6
08 X (multiply)
09 RTN
10 1
11 CHS
12 *
13 RTN

GTO .000
[R/S]

Change to PRGM mode, what line number are you on?

Give it a try...

Edit-1: HP-41 stops upon hitting the RTN, with the PC on the next statement, as also seen on the 42S

How about other machines???

Edit-2: HP-15C goes to step 000 and stops, like the 34C

Edit-3: HP-67 stops upon hitting the RTN, with PC on the next statement

Who else has machines to test? Maybe a pattern will emerge, but it seems this behavior was not at all consistent across various model lines.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DM42 and labels - mchris - 05-19-2020, 04:26 PM
RE: DM42 and labels - Massimo Gnerucci - 05-19-2020, 05:19 PM
RE: DM42 and labels - rprosperi - 05-19-2020, 05:30 PM
RE: DM42 and labels - mchris - 05-19-2020, 05:39 PM
RE: DM42 and labels - mchris - 05-19-2020, 05:52 PM
RE: DM42 and labels - toml_12953 - 05-19-2020, 05:57 PM
RE: DM42 and labels - rprosperi - 05-19-2020, 06:13 PM
RE: DM42 and labels - toml_12953 - 05-19-2020, 10:06 PM
RE: DM42 and labels - mchris - 05-19-2020, 06:01 PM
RE: DM42 and labels - J-F Garnier - 05-19-2020, 06:10 PM
RE: DM42 and labels - Sylvain Cote - 05-19-2020, 06:13 PM
RE: DM42 and labels - Thomas Okken - 05-19-2020, 07:12 PM
RE: DM42 and labels - mchris - 05-19-2020, 07:27 PM
RE: DM42 and labels - Thomas Okken - 05-19-2020, 07:56 PM
RE: DM42 and labels - Werner - 05-19-2020, 08:09 PM
RE: DM42 and labels - Massimo Gnerucci - 05-19-2020, 08:26 PM
RE: DM42 and labels - mchris - 05-19-2020, 10:18 PM
RE: DM42 and labels - David Hayden - 05-19-2020, 08:54 PM
RE: DM42 and labels - rprosperi - 05-19-2020, 09:17 PM
RE: DM42 and labels - Sylvain Cote - 05-19-2020, 10:53 PM
RE: DM42 and labels - rprosperi - 05-20-2020 12:19 AM
RE: DM42 and labels - Mike (Austria) - 05-24-2020, 08:52 PM
RE: DM42 and labels - SlideRule - 05-25-2020, 01:00 PM
RE: DM42 and labels - Didier Lachieze - 05-25-2020, 01:04 PM
RE: DM42 and labels - rprosperi - 05-25-2020, 04:42 PM
RE: DM42 and labels - Dave Britten - 05-26-2020, 05:06 PM
RE: DM42 and labels - rprosperi - 05-26-2020, 11:40 PM
RE: DM42 and labels - Dave Britten - 05-27-2020, 12:32 AM



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