assembly output. lazarus / 11-Options ---------------------------------------------------------------------- sergioantonio2013 · 2014-01-05 12:17 How do I get lazarus to compile to assembly code or to save the assembly code to a file when compiling a program. I want to optimize by hand some code using mmx, and I want to see the assembly code generated by the freepascal compiler. Any help? Thanks Sergio Fernandez Facebook.com/sergio.fernandez.756 ---------------------------------------------------------------------- Giu · 2014-01-05 12:45 Don't understand what do you want to do, but If related, you can use ASM code in your projects. http://wiki.freepascal.org/Lazarus_Inline_Assembler ---------------------------------------------------------------------- BigChimp · 2014-01-05 13:01 He wants to output the generated assembler source, i.e. not the (linked) binary/machine code. This is possible, don't know if Code: [Select]fpc -h gives enough info on this, but it should be a switch in fpc.exe I remember some threads in the forum or perhaps the FPC mailing lists about this; you'd have to search ---------------------------------------------------------------------- Martin_fr · 2014-01-05 13:35 specify -al there are various options for additional info