Post Reply 
(Free42) tips & tricks: local flags
07-27-2020, 08:40 PM
Post: #37
RE: (Free42) tips & tricks: local flags
Thank you for the print-out samples. I just took a first stab at a trace-with-stack implementation in Free42, and it prints this for my little sample program:

Code:
              XEQ "TEST"
           01▸LBL "TEST"
             02 2       
             03 ENTER   
             04 3       
             05 ×       
T=                     0
Z=                     0
Y=                     0
X=                     6
             06 STO ST Y
T=                     0
Z=                     0
Y=                     6
X=                     6
             07 "ABC"   
             08 ├"DEF"  
ABCDEF
             09 .END.

For comparison, it prints this in regular TRACE mode:

Code:
              XEQ "TEST"
           01▸LBL "TEST"
             02 2       
             03 ENTER   
             04 3       
             05 ×       
                6    ***
             06 STO ST Y
             07 "ABC"   
             08 ├"DEF"  
ABCDEF
             09 .END.

It still needs some work. When printing only X, it isn't useful to print anything for number entry and ENTER, for example, but with trace-with-stack, it does make sense to print something there.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (Free42) tips & tricks: local flags - Thomas Okken - 07-27-2020 08:40 PM



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