Re: [cc65] 65C02 indirect zeropage questions

From: Shawn Jefferson <jefferson_shawn_a8bit1yahoo.com>
Date: 2004-06-04 15:40:31
--- Ullrich von Bassewitz <uz@musoftware.de> wrote:
> > LDA ($20) and STA ($20) but it says illegal
> addressing
> > mode.
> 
> Works here without problems:

Thanks, Ullrich.  I must have done something wrong
then.  I'll look through the code again.

Will it work with a zerpage variable?

.zeropage
_fileptr   .res  2

lda (_fileptr)

???

This gives me an illegal addressing mode still.  Most
likely I'm doing something wrong here.

--
Shawn Jefferson



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jun 4 15:40:35 2004

This archive was generated by hypermail 2.1.8 : 2004-06-04 15:40:43 CEST