Subject: Re: [stella] Constants in DASM? From: "Chris Larkin" <clarkin@xxxxxxxxxxxxx> Date: Sun, 19 Jan 2003 08:50:27 -0800 |
Yes, I've declared addresses this way, but I want to declare values as well... Like: GoodBang = #$69 However that doesn't work... --Chris ----- Original Message ----- From: "Christopher Tumber" <christophertumber@xxxxxxxxxx> To: <stella@xxxxxxxxxxx> Sent: Saturday, January 18, 2003 10:02 PM Subject: Re: [stella] Constants in DASM? > > >Is it possible to declare constants in DASM? If so how? I have several values that would be much easier coded if I could declare them in english. > > Just use EQU or = > > > > Constant1 EQU $10 > Constant2 = $20 > > lda #Constant1 > ldx #Constant2 > > > > > Chris... > > > > > > > -------------------------------------------------------------------------- -------------------- > Archives (includes files) at http://www.biglist.com/lists/stella/archives/ > Unsub & more at http://www.biglist.com/lists/stella/ > ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] Constants in DASM?, Christopher Tumber | Thread | Re: [stella] Constants in DASM?, Christopher Tumber |
Re: [stella] VCS Hard Drive, Ratiki | Date | Re: [stella] Constants in DASM?, Christopher Tumber |
Month |