Re: ver 4.0 c_func problem on WIN98 Here Is proof of the problem !

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
bernie said...

Something is different between debug be turned on and off.

Yes there is, but protecting ESI is the way to go.

Here is a comment from the Watcom manual ...

Watcom said...

All used 80x86 registers must be saved on entry and restored on exit except those used to pass arguments and return values, and AX, which is considered a stratch register. Note that segment registers only have to saved and restored if you are compiling your application with the "r" option.

The argument passing registers are EAX, EBX, ECX, EDX, so it means that ESI really must be protected.

Then Why did my code work since euphoria version 2.2 all the way up to ver 4.0 SVN 1705 ????

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu