Post Reply 
DM42 and labels
05-19-2020, 05:19 PM
Post: #2
RE: DM42 and labels
(05-19-2020 04:26 PM)mchris Wrote:  I recently added a DM42 with the latest free42 firmware to my collection. I noticed that some programs with labels inside don't behave like expected. For example:

LBL "AAA"
XEQ 00
XEQ 10
RTN
LBL 00
"00"
AVIEW
RTN
LBL 10
"10"
AVIEW
RTN

This program when executed will display "10" first, then "10" again, and a third time (!) "00" and then ends. I was expecting to display "00" and then "10". The same behavior occurs with numeric local labels or global labels. I'm new to DM42 (HP42s) programming but I have experience with HP35s which has a similar language. Am I missing something?

When I run it with SST (step by step) it behaves as expected though.

I see:
10
00
10

in Free42, Emu42 and DM42

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website 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)