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

Subject: Re: Aw: Re: [stella] Reflex: Source of PAIN!
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Mon, 5 Apr 2004 23:55:52 +0200
KirkIsrael wrote:
>> Hm... I used to interpret the # as "Use value as it's written", as
>> opposed to "Use the content of this memory address"

But you can't use the content of a memory address here!
.byte $f123 doesn't work!



No wonder that you got confused then. ;-)

Following your memory model you would do:
CONST = #123

lda CONST == lda #123


lda #CONST == lda ##123 ???

But this is NO C #define, this is an addressing mode.

BTW: What about WSYNC, CXM0P etc.? These are also just a constants.

Have fun!
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |

Archives (includes files) at
Unsub & more at

Current Thread