Puoi usare lo switch -masm=intel da command-line.

Esempio "test.c":

codice:
#include <stdio.h>
#include <string.h>

int main (void)
{

	__asm (
		"xor eax, eax\n"
		"mov ecx, 1\n"
	);
	return 0;
}
Da compilare con gcc test.c -masm=intel.