Post Reply 
(11C) Indirect Line Number Branches
07-17-2019, 08:56 AM (This post was last modified: 07-17-2019 08:57 AM by Gamo.)
Post: #3
RE: (11C) Indirect Line Number Branches
Thanks for the feedback grsbanks

Just now I try the same program but use Indirect Label Branches

Program: Indirect Label Branches
Code:

LBL A
STO 1  // Store Count
STO 2  // Store Max Count
1
STO I  // Indirect Label branch to [LBL] 1
LBL 0
1
STO-1
RCL 1
PSE  // Count down display
X=0
GTO I  // branch downward to [LBL] 1
GTO 0
LBL 1 // This label use for Indirect Label Branching
1
STO+1
RCL 1
PSE  // Count up display
RCL 2
X=Y
GTO 0
GTO I  //  Branch upward to [LBL] 1

Program using Indirect Label Branching also look like it branch upward in
program as shown in above program. I did try it an it count down and up
the same as the first program that use Indirect Line Branches.

Remark:
The last line of this program is GTO I that branch to [LBL] 1 is it going upward?

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) Indirect Line Number Branches - Gamo - 07-17-2019, 06:04 AM
RE: (11C) Indirect Line Number Branches - Gamo - 07-17-2019 08:56 AM



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