[cc65] Hmm, addressing mode problem

Date view Thread view Subject view

From: David Lloyd (dmlloyd_at_atari-central.com)
Date: 2000-06-21 19:48:42


I can't seem to figure this one out, I *must* be doing something wrong!

I can't assemble this instruction:

> bit     SIDAllocTable,X

where SIDAllocTable is previously defined as:

> SIDAllocTable   =       $D500

I'm getting this error:

> sndalloc.s65(39): Error #31: Illegal addressing mode

Isn't abs,x a legal mode for 'BIT'?  Is the opcode not $3C, or is that
only on the 65C02?

- D

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:36 CET