This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Inline asm constraint


Hello everyone,

If I use
asm ("movl %1(%%eax), %%eax" :: "i" (4));
it converts it to movl $4(%eax), but I want 4(%eax)
Is there a constraint or a method to get rid of the $?

If not, could you integrate this is a new release of the c compiler?

Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]