[Coco] Assembler Program - Working!

Robert Gault robert.gault at worldnet.att.net
Mon Aug 18 00:13:23 EDT 2008


Tim found the infinite loop2 caused by not incrementing regB, incb. Your 
comment about, "Also, using register B as a counter works better than 
trying to use X even though it is incremented with the instruction LDA 
,X+." is not right.

LDA, X+ does increment regX, however, regX is a pointer to text storage 
not a counter. In your example, regX points to ABCDEFGH. After the first 
lda ,x+ the value in regX is STMP+1 and not 2.



More information about the Coco mailing list