RE: calling functions generically
"Ivan-Assen Ivanov" <[email protected]>
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <[email protected]> |
> Sometimes the complier does a "pop ecx" on return and > sometimes "mov dword ptr [ebp-0x8],eax" or a variant of that. > Can someone help me to understand how to robustly handle > this? I have done lots of assembly programming on other > platforms, but this is my first look at Intel and the 16/32 > bit stuff combined with different modes is really confusing for me. You might want to check out the roundup of calling conventions Raymond Chen recently did on his blog: http://blogs.msdn.com/oldnewthing (dig a bit into the archives, they probably disappeared from the front page) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Gamedevlists-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=557