On Thu, Sep 16, 2010 at 11:10 AM, leledumbo <leledumbo_c...@yahoo.co.id> wrote: > Just by changing to ATT syntax? Weird...
No, I removed the function header: push ebp mov ebp,esp And function footer: leave ret Because FPC automatically adds them, putting another header was the cause of the crash in my code. But this doesn't seam to be the case with the nasm object file. -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal