Re: [cc65] Lynx target

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2003-02-26 10:05:54


On Tue, Feb 25, 2003 at 08:42:28PM -0500, Memblers wrote:
> > Maybe it's time I actually find out the difference between the 6502 and the 65c02.  :)
> 65C02 has a few more opcodes.  STZ (store zero), BRA (unconditional branch), and
> INC A (increment accumulator).  I think that's the only difference from the
> programming point-of-view, but they are useful opcodes.

Not to forget that there is an "indirect" addressing mode that works without
an index register. Instead of

        ldy     #0
        sta     (zp),y

one can write

        sta     (zp)

Together with STZ this is probably the most useful extension of the
instruction set.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to 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 : 2003-02-26 10:06:01 CET