> Check that this puts a 32 bit value on the stack rather than an 8 bit > or 16 bit one. You may need "push dword 65" or something like that.
I've tried that. Even a (stupid) trick like this: section .data charA db 'A' section .text global tes tes: push ebp mov ebp,esp mov eax,charA mov dword eax,[eax] push eax call printc leave ret -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Interface-with-NASM-tp2838671p2842117.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal