HP 41 - branching to local label and return stack - FINAL RESULTS AND PROGRAMS
06-22-2019, 11:00 PM
Post: #40
 Artur - Brasil Member Posts: 152 Joined: Sep 2014
RE: HP 41 - branching to local label and return stack
The third equation is like others I post. Just a small difference in test.
R - L/(u+uo.ur).A = 0
We can't have both u and ur at same time. So, we must use another function to make the XOR: XOR2, which tests just 2 values in stack (x,y) (in LOGIC program you will find others functions XOR3, XOR4, X#0?L (is X different of zero? Returning 1 or 0), X=0?L

Well, let's put the fourth equation: H - (Fmm+NI)/L = 0
XOR(FMM; N*I) L <> 0

LBL 04
"IND"
ASTO X
"-^L^HÎ^FMM"
XEQ "SFT1"
"N" ............. here the second menu - very easy!
XEQ "SFT2"
RCL 15
RCL 06
RCL 14
*
XEQ "XOR2"
X=0?
GTO 11
RCL 12
X=0?
1
STO 12
XEQ "SFT3"
GTO 04
LBL 11
"ZERE FMM:N*I"
XEQ "SFT4"
GTO 04
LBL "IND"
no finished ...

ARTUR MARIO JUNIOR
BRAZIL
 « Next Oldest | Next Newest »

 Messages In This Thread HP 41 - branching to local label and return stack - FINAL RESULTS AND PROGRAMS - Artur - Brasil - 05-20-2019, 02:18 PM RE: HP 41 - branching to local label and return stack - Craig Bladow - 05-20-2019, 03:00 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 04:30 PM RE: HP 41 - branching to local label and return stack - Dave Britten - 05-20-2019, 03:41 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 05:13 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-20-2019, 05:33 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 05:44 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 05:50 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-20-2019, 06:37 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 06:47 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-20-2019, 06:34 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 06:43 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-20-2019, 07:28 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 07:42 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-20-2019, 08:19 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 08:29 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-20-2019, 09:51 PM RE: HP 41 - branching to local label and return stack - Garth Wilson - 05-20-2019, 10:03 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-20-2019, 11:18 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-20-2019, 11:48 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-21-2019, 11:12 AM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-21-2019, 01:45 PM RE: HP 41 - branching to local label and return stack - Thomas Okken - 05-22-2019, 12:28 AM RE: HP 41 - branching to local label and return stack - rprosperi - 05-22-2019, 01:44 AM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-22-2019, 02:02 AM RE: HP 41 - branching to local label and return stack - Gene - 06-21-2019, 11:07 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-21-2019, 11:17 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-22-2019, 01:50 AM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-22-2019, 02:00 AM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-22-2019, 07:08 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-23-2019, 02:24 AM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 05-23-2019, 12:11 PM RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-23-2019, 11:38 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 06-21-2019, 01:42 AM RE: HP 41 - branching to local label and return stack - Bill Duncan - 06-21-2019, 10:11 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 06-22-2019, 01:01 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 06-22-2019, 04:16 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 06-22-2019, 07:31 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 06-22-2019, 09:59 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 06-22-2019 11:00 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 06-23-2019, 02:24 AM RE: HP 41 - branching to local label and return stack - FINAL RESULTS AND PROGRAMS - Sylvain Cote - 06-23-2019, 04:03 PM RE: HP 41 - branching to local label and return stack - Artur - Brasil - 06-23-2019, 02:40 AM

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