COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### FINIT/FFREE no effect

• Email
• 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

See related articles to this posting

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

1 Replies
209 Views

Similar Articles

12/6/2013 6:19:29 PM
page loaded in 33589 ms. (0)

Similar Artilces:

ccaption options show no effect
Hi! My problem is as follows: 1. I want to use the ccaption macro in order to achieve several custom formats (multiline captions, indented captions, etc.) 2. I have used the \usepackage{ccaption} command in my class file (minimal modified book class) 3. I used following code in order to achieve a multilined caption <---- code ----> \begin{figure}[tb] \begin{center} \includegraphics[width=\textwidth,keepaspectratio]{figures/fig_BPIOAI_coupling} \end{center} \captionstyle{\centering} \caption{This is the first line \newline ....the second line} \label{fig:BPIOA

mini-martyr effect
If, especially since I don't have a firewall on this Windows 95 box, hackers are planning further tampering of my ongoing newsgroup posts, web pages, e-mail, archived newsgroup posts, and archived e-mail mailing list posts, they should note what I said years ago about the possible mini-martyr effect of such activity. Basically if you hack me and are caught that will cause a mini-martyr effect such that attention will be drawn to me that would never have occurred if you had just ignored me. David Dalton http://www.nfld.com/~dalton (home page, job offers welcome) http...; possible mini-martyr effect of such activity. Basically if you > hack me and are caught that will cause a mini-martyr effect such > that attention will be drawn to me that would never have occurred > if you had just ignored me. > > David Dalton > http://www.nfld.com/~dalton (home page, job offers welcome) > http://www.nfld.com/~dalton/nf.html (NF&LAB travel & music page) > http://www.nfld.com/~dalton/dtales.html (Salmon on the Thorns) > > > yeah whatever... this->troll($_SUCKS) -- /(bb|[^b]{2})/ that is the Question ThePsyko Public argument passing with side effect Hi, I'm new to lisp and have a little question. I have the following code : (setf a '(blah)) (defun do-it (x) (setf x 'it) (print x)) (defun do-it-in (x) (setf (car x) 'in) (print x)) (do-it (car a)) ; print IT (print a) ; print (BLAH) (do-it-in a) ; print (IN) (print a) ; print (IN) Where it prints (BLAH) I was expecting (IT). Could you explain the behavior or point me to a reference ? I asked this because I was trying to write a simple lisp interpreter in lisp. So you might thing of 'a' in the code to be the environment to be passed to m flanger effect, audio interpolation Hey, I'm implementing a flanger effect as part of a guitar effects processor on an ADSP-21364 development board. A Flanger effect is produced by adding a single delay to the current input sample, the length of the delay is dictated by a sin wave which i have in aa lookup table. This implements a comb filter. My problem is that on top of the desired output I am also getting a 'police siren' like sound which is a sin wave produced by the imperfections involved when the sin wave calculates a non-integer delay. I have tried to overcome this problem using linear interpolation which was an improvement but not a complete solution. I then implemented a 4-point cubic interpolation algorithm which didn't seem to improve things much more. My question is, can anyone suggest a decent interpolation algorithm suitable for this audio application? Many thanks Ronan Do you have a sample program? Perhaps you need to stabilize the comb filter, i.e. multiply the delayed value by some factor smaller than one? omalley.ronan@gmail.com wrote: > Hey, > > I'm implementing a flanger effect as part of a guitar effects processor > on an ADSP-21364 development operator has no effect #include<stdio.h> int main(void){ unsigned int m=0xfdff; ~m; printf("%x\n",m); return 0; } gives me :$ gcc -Wall -g -o test test.c test.c: In function `main': test.c:4: warning: statement with no effect $./test fdff whereas this works out properly : #include<stdio.h> int main(void){ unsigned int m=0xfdff; printf("%x\n",~m); return 0; }$gcc -Wall -g -o test test.c \$ ./test ffff0200 Why ??? > #include<stdio.h> > int main(void){ > unsigned int m=0xfdff; >... and do nothing with result. As complementing an unsigned int has no effects, then the operator has no effect. > printf("%x\n",m); > return 0; >} > > >gives me : <...> >test.c:4: warning: statement with no effect <...> > >whereas this works out properly : > >#include<stdio.h> >int main(void){ > unsigned int m=0xfdff; > printf("%x\n",~m); You now complement m and use its result to pass it to printf, thus the operator serves some clear purpose and does have effect. > return 0; >