; My Program GOTO Main startingA: &5 startingC: &10 Main: LDA startingA LDC startingC ; Adds 1 to A in a loop until A is equal to C, then adds to C Loop: ADD &1 CMPR A BREQ Function GOTO Loop ; A is the only math register, so a swapping trick will need to be done. Function: EXPA startingA ADD &10 LDC A LDA startingA GOTO Loop