Post Reply 
(11C) Indirect Line Number Branches
07-19-2019, 03:23 PM
Post: #6
RE: (11C) Indirect Line Number Branches
(07-19-2019 03:16 PM)Artur - Brasil Wrote:  Line junping to?
I'll read again to see this, as normally you can jump only tô labels.
If really possible, GTO linexxx Will go directly to that line, it doesn't matter If backward or forward.

The key here is the word "INDIRECT".

Code:
1
STO I
GTO I

This does the same thing as "GTO 1". But if the value that you store in the index register is negative then it jumps to the line whose number is the absolute value of the index register. E.g. to jump to line 45:

Code:
45
CHS
STO I
GTO I
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-19-2019 03:23 PM



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