NASM - The Netwide Assembler
NASM Forum => Programming with NASM => Topic started by: stressful on December 19, 2014, 03:32:45 AM
-
What if i have saved the FPU state on a local stack frame and restore it at later times after other function calls. Will my saved FPU environment be corrupted in-between?
-
Should be good until the stack frame is destroyed - barring serious errors in the "other calls".
Best,
Frank
-
Should be good until the stack frame is destroyed - barring serious errors in the "other calls".
Best,
Frank
Thanks Frank. I guess making specialized functions to save and restore the FPU is a bad idea. Maybe I'll just use it internally in functions that use them or use static data area.