Hello
Option -OnB=b disables JSR to BSR optimization.
Basically, when in a source file implementation of the called function is preceding the calling function and if the code of the called function is small enough, the compiler will call the function with a BSR (instead of a JSR).
This is working well as long as the function are allocated next to each other.
If you tell in the .prm file you want to allocate .text into ROM, ROM1, ROM2, the called function might be allocated in ROM and the calling function in ROM1. The code will then not be working any more.
So if you are allocating your code in non-contiguous memory area it is recommended to activate option -OnB=b.
CrasyCat