Since llvm/clang is the default compiler on FreeBSD I thought it would be interesting doing some low-level assembly coding using the llvm internal assembler. I've been scouring the web and these forums for prior work on using the LLVM internal assembler using intel syntax on FreeBSD, but I've been running up short. For older 32bit architectures, the Developer's Manual is excellent and there's an excellent repo on github topcat001/assembly with 64bit examples. Both of those use NASM, though.
Is anyone who reads this aware of any projects, examples or documentation on using llvm-mc with intel syntax?
llvm-mc is rather incompatible with NASM syntax. It's also pretty much entirely undocumented and the references I've found are pretty much "don't do this", "read the source" or "try it out". Sure, semi-reverse-engineering LLVM is the last resort, but does anyone have something to share?
Is anyone who reads this aware of any projects, examples or documentation on using llvm-mc with intel syntax?
llvm-mc is rather incompatible with NASM syntax. It's also pretty much entirely undocumented and the references I've found are pretty much "don't do this", "read the source" or "try it out". Sure, semi-reverse-engineering LLVM is the last resort, but does anyone have something to share?