Re: [cc65] Lynx target

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-02-26 10:05:54


Hi!

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.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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 : 2003-02-26 10:06:01 CET