SCASM 2.88 |
FAQ - frequently asked questions |
|
This is the beginning of an FAQ
What can I do, when I get an Linebuffer overflow error? |
First of all some words about some buffers in SCASM.
To solve this problem use the Set( ) command to increase the buffer size. Place the Set() commands at the beginning of your source text. SCASM needs to see them before processing the first
|
TOP |
What to do when getting an destination out of range error |
"Destination out of range" means that SCASM has to insert a jump distance into a BGL instruction that does not fit that size. Many BGL instructions can only handle a 16 bit jump distance (+/-32767). This is a typical error message:
The error is detected at the EndA command because this command causes SCASM to calculate the jump distances. So you have to look at the command at "source line 14". Maybe you will see the following lines there:
The jump distance is simply too far away for the
Unfortunately not all jumps and calls have a 32-bit version. So the following example will also cause an out of range error if the distance to :End is more than 32767 bytes away. The solution of this problem is to insert another jump for an intermediate landing or to jump to an nearby already existing jump32 as shown in the above code example.
|
TOP |
TOP | © Manfred Moldenhauer |