Post Reply 
(11C) Indirect Line Number Branches
07-17-2019, 07:34 AM
Post: #2
RE: (11C) Indirect Line Number Branches
(07-17-2019 06:04 AM)Gamo Wrote:  According to the user manual state that
Indirect Label Branches the execution
is transfer downward in program memory.

It also says the same thing for a direct GTO, but that is not actually what happens or you would never be able to jump backwards in a program and perform loops.

Yes, the search is downwards from the position where the GTO is, but once the last line in the program is reached, the search continues from the beginning.

What this means is, if a label appears more than once in a program, e.g. once before your GTO and once after the GTO, then only the one below the GTO will ever be "seen" by the GTO.
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 - grsbanks - 07-17-2019 07:34 AM



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