assemblypascaldisassemblylazarusintel-syntax

How to disable AT&T/enable Intel syntax in lazarus debug window?


By default Lazarus shows x86/x64 assembly using the awful (horrible) AT&T syntax.

How do I make it display the Intel syntax that sane people use?

enter image description here


Solution

  • Luckily there is an option.

    Goto tools->Options->Debugger->General

    enter image description here

    In the section Debugger_Startup_Options paste:
    -eval-command="set disassembly-flavor intel"

    Restart lazarus and sanity has been restored.

    enter image description here

    Much better....