Xref: utzoo comp.lang.c:19836 alt.msdos.programmer:192 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!gatech!purdue!mentor.cc.purdue.edu!s.cc.purdue.edu!aic From: aic@s.cc.purdue.edu (George A. Basar) Newsgroups: comp.lang.c,alt.msdos.programmer Subject: Re: Help! (Problems with the stack?) Keywords: stack Message-ID: <3943@s.cc.purdue.edu> Date: 11 Jul 89 16:27:40 GMT References: <2163@wasatch.utah.edu> Distribution: usa Organization: Purdue University Lines: 11 In article <2163@wasatch.utah.edu>, u-tholly@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)