Re: [stella] Constants in DASM?

Subject: Re: [stella] Constants in DASM?
From: Christopher Tumber <christophertumber@xxxxxxxxxx>
Date: Sun, 19 Jan 2003 12:19:46 -0500
>Yes, I've declared addresses this way, but I want to declare values as
>Like: GoodBang = #$69
>However that doesn't work...

Like I said, declare it as:

GoodBang = $69

Then to reference it as a constant:

lda #GoodBang

The assembler doesn't differentiate between constants and addresses until the context is set by the opcode.

That is,  GoodBang = $69 is neither a constant nor an address. It's a *label*.

lda GoodBang ; Is an address
lda #GoodBang ;Is a constant


Archives (includes files) at
Unsub & more at

Current Thread