Pushes/pops on x86/x86_64 are always word sized
Den 16-09-2010 11:44, Jonas Maebe skrev:
On 14 Sep 2010, at 08:35, leledumbo wrote:
segment .text
global tes
tes:
push ebp
mov ebp,esp
push 65
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.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal