A92: Illegal forward reference
[Prev][Next][Index][Thread]
A92: Illegal forward reference
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?
Niklas Brunlid - http://www.efd.lth.se/~e96nbr
PQF Quote follows:
"I can explain it in Dog, but you only listen in Human."
-- Gaspode the wonder dog
(Terry Pratchett, Moving Pictures)
Follow-Ups: