79 ;r3 ... effective stack address
80 ;r4 ... effective input addr
85 ;load base address of stack
92 ;generate effective input addr
118 ;check if sp-1 is even or odd
122 ;if odd decrement sp-1
124 ;just to get zero flag unset
127 ;if last was not zero
128 ;add to sp-1 to result
169 ;case 0 1 2 3 4 5 6 7 8 9
176 ;increment stack addr
191 ;compare sp-1 with sp
193 ;set r8 to -1 if less than
207 ;increment stack addr
234 ;store result to stack
249 ;increment pc if == 0
262 ;decrement stack addr