Re: Aw: Re: [stella] Reflex: Source of PAIN!

Subject: Re: Aw: Re: [stella] Reflex: Source of PAIN!
From: "B. Watson" <atari@xxxxxxxxxxxxxx>
Date: Mon, 5 Apr 2004 16:14:33 -0400 (EDT)

On Mon, 5 Apr 2004 cybergoth@xxxxxxxx wrote:

> Hi there!
>
> > Stuff like `byte #%10101010' is accepted, and shouldn't be.
>
> What's wrong with this?

The # means `immediate mode addressing'... there's no addressing mode
with a pseudo-op like `byte'. Putting the # there doesn't do anything
useful, and it has the non-useful possibility of confusing people who
are still learning 6502 assembly...

I don't have my Atari 800 emulator handy (am at work), but I'm almost 100%
sure that no 6502 assemblers that run on actual 6502-based machines ever
supported `byte #' in their syntax. Mostly I used Mac/65 and the Atari
Assembler cartridge back then, maybe some other platforms had assemblers
that allowed it (C=64?), but I'd be surprised to hear it.

--
B.
----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread