<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sun, 28 Nov 2004 01:18:26 +0000 (GMT)
From   : Greg Cook <debounce@...>
Subject: Re: ...at line ___

On Sat, 27 Nov 2004 22:08:32 +0000 (GMT), Andrew W wrote:
> It seems to be something wrong with the labels. I don't know if
> this'll
> be much use (I don't think the second two LDA&75's are necessary
> either) but when &75 is 79 or 119 I get the error:
> 
> .scan1
> LDA&75
> CMP#39:BEQ scan4:JMP scan5      \ check char position counter for end
> of line
> .scan5 LDA&75:CMP#79:BEQ scan4:JMP scan6
> .scan6 LDA&75:CMP#119:BNE scan2
> .scan4 

  ...

Regarding the error exits, there needs to be an RTS at the end of code
(or a JMP or a forced branch) to keep the flow within the program.

Greg


       
       
               
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>