On Thu, 4 May 2000, David O'Brien wrote: > static __inline void foo_short(volatile unsigned short *p, unsigned short v) > { __asm volatile ( "andw %2,%0" : "=m" (*p) : "0" (*p), "ir" ( ~v )); } Use "andw %w2,%0" Have a look at gcc/config/i386/i386.md for a list of the constraint modifiers. -- Linuxcare. Support for the Revolution.