I am coding a fast asm dll for many math functions. I need information on how C++, VB, etc. leave the FPU stack before entry into a dll procudure. I would assume that they should leave it empty.
Posted on 2001-04-08 00:08:00 by BigBadBob
(TO THE TUNE OF -- Oh Where, Oh Where did my liitle dog go?) Oh Why, Oh Why didn't someone reply, Oh Why, Oh Why not for me?
Posted on 2001-04-11 01:31:00 by BigBadBob
quite comlicated question :D I filled some asm statements between C++ commands (in MS VC++ 6) and used all the time finit before my asm fpu commands. The C-Compiler doesnt care and it works fine. I think, you have to setup the fpu before work, and can leave it like you want after work. but I never tested this with a dll, maybe this depends also on the compiler and linker switches!
Posted on 2001-04-11 07:05:00 by beaster