Re: [cc65] OT: Atari ML help

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-05-16 07:56:11


On Thursday 15 May 2003 18:04, Piotr Fusik wrote:
> On Wed, 14 May 2003, Groepaz wrote:
> > > > > BTW. xasm uses "lda <address" syntax for backward compatibility
> > > > > with Quick Assembler on Atari ("lda #<address" is also supported).
> > > >
> > > > ähm... arent these 2 different things ?
> > >
> > > They're the same immediate mode.
> > > "lda +<address" or "lda z:address" are zeropage addressing.
> >
> > hu WHAT ?!
> >
> > lda <address	; load akku absolute (3bytes)
>
> Now I'm confused... Why "absolute"? I wrote it's "immediate".

because "lda <arg>" IS absolute, and "lda #<arg>" is immediate. hence your 
original statement >"BTW. xasm uses "lda <address" syntax for backward 
compatibility with Quick Assembler on Atari ("lda #<address" is also 
supported)."< ... >"They're the same immediate mode."<. doesnt make sence. 
"lda <address" is NOT immediate, its absolute.

however, lets say atari assemblers handle these things different than the rest 
of the world, i can live with that :o)

gpz
----------------------------------------------------------------------
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-05-16 07:00:27 CEST