|
From: Christian S. <csc...@gm...> - 2001-05-11 19:20:40
|
Dev-C++ uses GCC internally and GCC complies to the AT&T syntax when it
comes to assembler which is opposite to the Intel-Syntax. Here is an
example:
int add_one( int )
{
asm( "
mov 4(%esp), %eax
add $1, %eax
ret
" );
}
cheers,
-chris
|