18 - INP 28, Data is at addresses 28, 29, and 30. 19 - INP 29, Program instructions at addresses 18-26. 20 - LDA 28, 21 - ZER 26, CONDITIONAL BRANCH - beginning of LOOP 22 - OUT 28, 23 - SUB 29, 24 - STO 28, 25 - BRA 21, Unconditional BRANCH - end of the LOOP 26 - STP 0,
Study this solved problem: TICgroupExercise.pdf.
TIC practice: TIC 1 and TIC 2 and TIC 3 is a three page PDF. TIC 2 is very simple. TIC 3 involves BRANCHING and loops!