Re: [cc65] 65C02 indirect zeropage questions

From: Shawn Jefferson <>
Date: 2004-06-04 15:40:31
--- Ullrich von Bassewitz <> 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?

_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. 
To unsubscribe from the list send mail to 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