Hello > > GCC uses a jmp-instruction instead of a call one, so 'speeds up' execution by > > saving the execution of bios_16_xxxx's return instruction (lretw one). This of course > > ruins my efforts. Therfore i'd like to know how this optimization is called, and if > > there is any gcc option to disable this particular optimization. > These are called sibling calls, and you can turn the optimization off > using -fno-optimize-sibling-calls. oh great! > (I wouldn't be surprised if you run into other problems with your > approach, but that switch should take care of that particular > problem.) Mmm, i'd appreciate all hints to what problems could happen when going this approach. Doesn't matter how vague. > Ian Thanks Ian, again ! josef ciao