JSR, SBR and RET: Passing Parameters Into a Routine Without a Controller Tag

A diagram of one JSR call: the calling routine's program-scoped tags on the left, the JSR instruction with two input parameters and one return parameter in the middle, the subroutine's own program-scoped tags on the right, and a numbered list of the five steps from rung true to RET copying the answer back

JSR, SBR and RET: Passing Parameters Into a Routine Without a Controller Tag Type 4, Code 31 on a 1756-L83E, and the routine it pointed at was three rungs long. The general instructions reference gives three separate ways to earn that code and every one of them is about counting: a JSR with fewer input … Read more

Advertisement