Page 1 of 1

asm output does not fit to error line number

Posted: Wed Aug 20, 2008 3:55 pm
by Brujah
Hy purebasic users,

I am still trying to compile laby on the mac.
I already put all commands that the mac cannot handle yet (like examine joystick) in a compiler case.
Now the game compiles but I get an assembler error afterwards.

Code: Select all

Fehlermeldung auf der commandozeile:
58272 lines processed.
Creating the executable.
purebasic.asm:397165:Fixup of 181648 too large for field width of 16 bits
purebasic.asm:255948:Fixup of 4294915568 too large for field width of 16 bits
Error: Assembler
But when I look at the assembler output the line numbers points to strange lines.
For example the first one from above points to:

Code: Select all

 blt _Next10362
Could it be that this information is wrong?
Or which number is meant?

Posted: Thu Aug 21, 2008 4:56 pm
by Fred
May be you have a very big For/Next loop ? PPC jump are 16 bits limited (ie: 64k of code) so may be your are over that ? Anyway, it's the compiler job to handle that, i will see what can be done. For now, you can try to reduce it (by using procedures)