Re: A92: Illegal forward reference


[Prev][Next][Index][Thread]

Re: A92: Illegal forward reference




At 05:31 PM 6/25/98 +0200, Niklas Brunlid wrote:
>
>I want to allocate a BSS block that's equal in size to a block of data
>inside my program. The code is simply:
>
>	BSS
>flipped_sprites	ds.b	end_of_sprites-sprites
>	CODE
>
><program code>
>
>sprites:
><sprite data>
>end_of_sprites:
>
><more data and code>
>
>	END
>
>I understand why I get an illegal forward reference, but is there any way
>to avoid it?

Try putting the BSS section _after_ the CODE section.


---
David Ellsworth
davidell@earthling.net
IRC: eXocomp
ICQ: 2300673


References: