Post Reply 
SR-52 conditional trick (absent from the 58/59
07-29-2022, 08:22 PM (This post was last modified: 07-29-2022 08:43 PM by Matt Agajanian.)
Post: #1
SR-52 conditional trick (absent from the 58/59
Sorry for the misleading title. The features ARE available in the 58/59 series. Within chapter 12 of the SR-52 manual is the topic of Indirect Addressing. A little bit in there is the operation of indirect addressing of conditional and looping tests. At page 127 starts the topic of indirect conditional & looping constructs.

For example:
2nd IND 2nd if pos 04 would branch to the address in R04 is the display is positive.
2 IND 2nd dsz 15 would transfer to the address in R15 if R0 is non-zero.

Only, this time for the 58/59, the Indirect instruction follows the conditional/looping instruction.

2nd x=t 2nd IND 25 would branch to the location specified in R25 when the displayed value equals the value in t.
2nd Dsz 3 IND 17 would branch to the location in R17 when R3 isn't zero.
INV 2nd Dsz 5 IND 39 would branch to the location in R39 when R5 is zero.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
SR-52 conditional trick (absent from the 58/59 - Matt Agajanian - 07-29-2022 08:22 PM



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