Re: [stella] DASM question

Subject: Re: [stella] DASM question
From: "Erik Mooney" <erik@xxxxxxxxxx>
Date: Fri, 26 Mar 2004 10:47:16 -0600
On Fri, 26 Mar 2004 09:06:10 +0100, "Thomas Jentzsch" <tjentzsch@xxxxxx> wrote:

> Manuel wrote:
> > You're looking for
> > 
> > .P0 dex
> >      bne .P0
> To be used in conjunction with SUBROUTINE.

Thanks.  I'll use that, although I'm sure I never used that syntax in DASM before.  I know I once used some assembler (probably x86, not 6502) that allowed what I originally described, and either just used the nearest label or automatically scoped them to within 10 or 20 lines of source code.  If it was at all unsure about which label, it'd throw an error.  There was some restriction on the label semantics, like it had to be <4 characters and end with a number, so you couldn't mistake a local label for a global one like MainGameLoop or something like that.  Wasn't DASM, I guess, but the SUBROUTINE syntax is good enough.
Archives (includes files) at
Unsub & more at

Current Thread