FINIT/FFREE no effect

  • Follow


Hi,

I have a very strange problem ...
I'm using DJGPP for Win32 and I have a very small C-Code that executes an 
assembler function. The assembler code is assembled with NASM (I suppose it 
is assembled with NASM - RHIDE (newest version) makes this for me)
Here my problem:
I make use of the FPU in my assembler function and so I do a FINIT at the 
beginning on my function but the FPU doesn't mark the registers empty.
For instance does FREE st0 nothing. It's very strange.

I use the newest RHIDE and if I open the disassemble window (which shows all 
registers as well) and step to the FINIT there is no effect on ST0-ST7 ...


Does someone know where is the problem?



0
Reply Thomas 6/30/2005 8:54:26 AM

I found the problem. FINIT does mark the registers as empty but doesn't 
change the value and the RHGDB show the register not as "empty" but they are 
empty.



0
Reply Thomas 6/30/2005 4:12:54 PM


1 Replies
167 Views

(page loaded in 0.044 seconds)

Similiar Articles:













7/6/2012 12:58:24 AM


Reply: