Re: A89: Distubing assembler error
[Prev][Next][Index][Thread]
Re: A89: Distubing assembler error
That makes absolutely no sense. As far as I know, no compiler (maybe Pascal,
but I'm not sure) requires indentation. Indentation is just used for
readability.
I wonder why that would happen.
Daniel Imfeld
In a message dated 11/30/1998 2:53:01 PM Pacific Standard Time,
aoltest@yahoo.com writes:
> I hope this helps some of you new programmers, I wasted a lot of time
> figuring it out.
>
> The first assembly program I tried to compile gave me a bunch of
> errors indicating that it didn't recognize certain instructions (I
> think). The way I finally fixed the problem was to indent certain
> lines! This seemed crazy to me, so go ahead and call me a lunatic if
> you want (or explain these odd indentation rules that I've never seen
> in any of the tutorials).
>
> Orignal code:
>
> sprites:
> dc.b %11001100
> dc.b %11100111
> <and so on...>
>
> Code that compiled: (only change was in indentation)
>
> sprites:
> dc.b %11001100
> dc.b %11100111
> <and so on...>
>
Follow-Ups: