Question to TI-58/59 Programmers Message #1 Posted by Namir on 9 Aug 2012, 5:24 p.m.
Hello Joerg and all other TI-58/59 Programmers!
I am looking at the programming manual for the TI 58/59. I read that when you perform a relational test you place the name of a label (and TI-58/59 has a weird system of labels that uses the names of various key!!). When the test is true, program execution resumes at that label.
My question is, "Can you invoke a subroutine if a test is true?" Meaning, if you place an SBR after the test, does the program treat the SBR as a special case and trigger a subroutine call? Or does the program simply jump to the label SBR?
Here is an example of what I LIKE TO DO:
LBL A
...
x=t
SBR
=
...
INV SBR
LBL =
...
INV SBR
In the above code snippet, I would like to execute the code after label = (equal) when the test x=t is true. Is that possible?
Thanks,
Namir
|