In reading the Lazarus/FreePascal manuals early on, I had discovered that Lazarus can use either AT&T or Intel ASM code blocks. No where that I looked explained how. The limited available information is found in: Programmer’s Guide for Free Pascal, Version 3.0.0 Document version 3.0 November 2015 by Michaël Van Canneyt.
Logic left me believing that compiler switches or flags must exist, but the documentation did not set it out, see: User’s Guide for Free Pascal, Version 3.0.0 Document version 3.0 November 2015 Michaël Van Canneyt & Florian Klämpfl, Appendix A: Alphabetical listing of command line options. I have had a memory that I have seen somewhere a reference to those switches. Perhaps it was on a forum comment.
The other day I finally discovered, at least, one such source in the fpc.cfg file which in its default form shows:
# Assembler reader mode
# -Rdefault use default assembler
# -Ratt read AT&T style assembler
# -Rintel read Intel style assembler
#
# All assembler blocks are AT&T styled by default
#-Ratt
So, in Lazarus setting options for a project I am working on I tried to select '-Rintel' in Project->Project Options->Compiler Options->All Options and found that the only option showing is '-Rdefault'. Now I am sure that I could probably enter it directly, but I hate seeing other people having to go through the search that I have done and then ended up converting Intel code over to At&T just to get it to work.
Recently, on the Forum a member pointed me to a define -- {$asmmode intel}. That was helpful, but for such a simple matter I think it should be placed in the compiler switches listing for all options referred to above.