Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: LSP/THINK Code Resource question Message-ID: <2152@husc6.harvard.edu> Date: 5 Jul 89 00:59:56 GMT References: <4246@tank.uchicago.edu> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Distribution: na Organization: Symantec/THINK Technologies, Bedford, MA Lines: 26 In article <4246@tank.uchicago.edu> ra_robert@gsbacd.uchicago.edu writes: > >before exiting the MDEF). While debugging (with TMON), I intercepted the >NewPtr call, but the NewPtr call isn't in my sub-proc any longer, but rather >it's near the start of main the code. I think this section of main code is NewPtr is a register-based call, so a little bit of glue is called in order to set up the registers and call the trap, ergo a subroutine call. Unless you're using a Custom Header, your main is likely to not be the first code in the code resource. --Rich ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel I classify myself as a real developer because my desk is hip-deep in assembly-language listings and I spend more than 50% of my time in TMON. ~~~~~~~~~~~~~~~