I came across a code that looks like this:
asm volatile ( # [...] \"movl $1200, %%ecx;\" # [...] );
I know what movl $120
movl $120
GCC inline assembly uses %0, %1, %2, etc. to refer to input and output operands. That means you need to use two %% for real registers.
Check this howto for great information.