Help! (Problems with the stack?)

George A. Basar aic at s.cc.purdue.edu
Wed Jul 12 02:27:40 AEST 1989


In article <2163 at wasatch.utah.edu>, u-tholly at wasatch.utah.edu (Troy Holly) writes:
> CodeView debugger.  I have a line of code that passes arguments to
> the tanh() math function, but when I get there, all of the variables
> in the calling routine become undefined, and I get an "M6101 invalid"
> floating point error.  This particular line of code is executed many


   Have you checked your memory model and the lib you are linking
with to be sure they match?  Could be that you are mixing models and the
lib routine expects both selector:offset and you are only pushing offset
or selector(incorrect one):offset (in the case where ds != ss)



More information about the Comp.lang.c mailing list