This information came from a student regarding running assembly code embedded in C for Linux. GCC is the Linux C compiler and MSVC stands for Microsoft Visual Studio. CLang is the name of the program to use instead of GCC. CLang actually is what Xcode uses on the Mac to compile. Thanks to Andrew Bitterling for doing this research! ---------------------------------------------------------------------------------------------------- GCC and it's asm style (https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html) is different than MSVC's style which is why it doesn't work with GCC/MinGW. An option would be to instead write for GCC but MSVC is honestly more readable for assembly. If you use clang with the -fasm-blocks flag it will work even in the MSVC style that you have all the examples in. I will note that it is not easy to install Clang in Windows as it requires header files installed by Visual Studio. You could get it to work with the header files from MinGW but it is a hassle (there are guides but I didn't find one for recent Clang) and I was not able to make it work sucessfully. Therefore, it definitely works for Linux easily (apt-get install clang and the -fasm-blocks flag) and would work for Windows if you messed with linking Clang to the MinGW header files somehow, or Clang and a Visual Studio installation. I would think that even Mac OS X would need the -fasm-blocks flag when using Clang with XCode but I guess XCode could automatically pass it. https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html