Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!zephyr.ens.tek.com!tektronix!percy!m2xenix!becca!root From: root@becca.rain.com (john meissen) Newsgroups: comp.sys.amiga.programmer Subject: Re: SAS C disassembly suggestions needed Message-ID: <195cce89.ARN1e47@becca.rain.com> Date: 27 Jun 91 05:56:25 GMT References: <5214@orbit.cts.com> Reply-To: m2xenix!becca!john Followup-To: comp.sys.amiga.programmer Organization: Washington Valley Software Lines: 18 In article <5214@orbit.cts.com>, Erik Funkenbusch writes: > Well, there's no way to get commented dis-assemblies in SAS. you can use OMD > (object module disasembler) to disasemble your object modules. This was one > of the Main reasons i chose Manx over SAS because with a simple flag you can > get the compiler to keep it's intermediate assembly and comment each function > with the appropriate C source. Very useful when you wish to optimize code by > hand. Not true. If you compile with -d (debugging ON) so that line number info is included in the object module, then you can provide the source file name as a second argument to OMD and it will mix the source with the disassembled code. This has been a feature of the Lattice compiler since day-1 (pre-1984). John Meissen | john@becca.rain.com | ..!{uunet,qiclab,intelhf,bucket}!m2xenix!becca!john -------------------------------------------------------------------- "It's only work if somebody makes you do it." - Calvin & Hobbes