HP Forums
(41) JETLOG Program - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: HP-41C Software Library (/forum-11.html)
+--- Thread: (41) JETLOG Program (/thread-16055.html)



(41) JETLOG Program - WrongWay - 12-15-2020 06:06 AM

This was a program my father wrote, it appears to be a flight planning application. I could use some help deciphering it. It does run. Run size and set to 100 to fully load the program


RE: JETLOG Program - bbergman - 12-15-2020 05:23 PM

Sounds like a project for Geoff Quickfall Smile


RE: JETLOG Program - WrongWay - 12-15-2020 06:44 PM

I wasn't sure if it belonged in the software library as it lacks documentation. Any help in deciphering what is going on is greatly appreciated


RE: JETLOG Program - CY-CL - 12-15-2020 06:48 PM

Set Size to 100


RE: (41) JETLOG Program - Ángel Martin - 05-13-2021 07:13 AM

(12-15-2020 06:06 AM)WrongWay Wrote:  This was a program my father wrote, it appears to be a flight planning application. I could use some help deciphering it. It does run. Run size and set to 100 to fully load the program

In line 16 there's a GT0 CF but LBL "CF" is nowhere to be found. Is this a typo??
GTO C doesn't look likely either given where the instruction is: no previous test and no LBL after it.
Would be good if you can double check the listing...

Code:
X=0?
GTO 00
SF 03
GTO CF
FS? 00
GTO 01
LBL 00



RE: (41) JETLOG Program - C.Ret - 05-19-2021 03:33 PM

There is also a REGMOVE command, this code may need the XFunctions module ?


RE: (41) JETLOG Program - Stevetuc - 05-20-2021 09:59 AM

(05-13-2021 07:13 AM)Ángel Martin Wrote:  
(12-15-2020 06:06 AM)WrongWay Wrote:  This was a program my father wrote, it appears to be a flight planning application. I could use some help deciphering it. It does run. Run size and set to 100 to fully load the program

In line 16 there's a GT0 CF but LBL "CF" is nowhere to be found. Is this a typo??
GTO C doesn't look likely either given where the instruction is: no previous test and no LBL after it.
Would be good if you can double check the listing...

Code:
X=0?
GTO 00
SF 03
GTO CF
FS? 00
GTO 01
LBL 00

It looks like the CF flag is being used for indirection
Ie if CF= 03 GTO CF > GTO LBL 03


RE: (41) JETLOG Program - Ángel Martin - 05-21-2021 05:21 AM

(05-20-2021 09:59 AM)Stevetuc Wrote:  It looks like the CF flag is being used for indirection
Ie if CF= 03 GTO CF > GTO LBL 03

I don't think so; if this was the case when are the instructions that follow executed?


RE: (41) JETLOG Program - twdeckard - 05-22-2021 01:11 AM

(05-21-2021 05:21 AM)Ángel Martin Wrote:  
(05-20-2021 09:59 AM)Stevetuc Wrote:  It looks like the CF flag is being used for indirection
Ie if CF= 03 GTO CF > GTO LBL 03

I don't think so; if this was the case when are the instructions that follow executed?

Is it a clever synthetic though? couldn’t you use the first (top) 10 keys as surrogates for 00-10 in STO and RCL and GTO?

I think a piece of the program is missing though, there aren’t routines sensitive to flag 03?

Todd


RE: (41) JETLOG Program - Massimo Gnerucci - 05-22-2021 05:07 AM

(05-22-2021 01:11 AM)twdeckard Wrote:  couldn’t you use the first (top) 10 keys as surrogates for 00-10 in STO and RCL and GTO?

Yes, but 01-10.