On Wednesday 03 September 2008 11.07:49 Graeme Geldenhuys wrote: > Hi, > > I know it's possible, but I can't remember the exact FPC parameters. > How do I see the assembler generated by FPC for my source code? > > I need to do some optimisation comparisons looking at the assembler > generated. > > eg: > Is assembler code generated for a call to a blank (no content) > procedure? The content of the procedure might be IFDEF'd out. > You could use breakpoints and the (dis-)assembler window of MSEide, it lists mixed pascal and machine code. The SVN trunk version has some improvements in (dis-)assembler window, for example the possibility to set breakpoints on machine instructions.
Martin _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
