Subject: [stella] Can DASM do this? From: "John K. Harvey" <jkharvey@xxxxxxxxxxx> Date: Sat, 04 Aug 2001 10:57:27 -0500 |
Hi all, Gotta question about DASM for ya. Say I wanted to set up an absolute address as an equate. ADDRESS equ $F83E Now, say I want to reference the upper byte/loer byte, but by using the equate instead of calling it explicitly. Can it be done? i.e. Table: .byte ((ADDRESS & 00FF) .byte ((ADDRESS & $FF00)>>4) instead of Table: .byte $3E,$F8 I know dasm can add/subtract from immediate values/constants, but I don't think this can be done, so I figured I'd check. Sometimes it's nice to have to only change one equate instead of tracing through code to find every instance of this that's changed. Any ideas? Thank you all, -John - 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] Newcomers..., Chris Wilkson | Thread | Re: [stella] Can DASM do this?, Manuel Polik |
Re: [stella] [Poll] What is everybo, nj bloodline | Date | Re: [stella] Can DASM do this?, Manuel Polik |
Month |