如何在gcc环境中将这个cpp代码段转换成C语言中的宏函数?
gcc 使用的是AT&T 而这段代码是Intel我想在C语言中作为一个宏函数使用它,没学过汇编看不懂gcc手册,求大神帮助

inline unsigned int Div_TEN9_2(unsigned long x,unsigned int *pRemainder ) { _asm { mov eax,unsigned int ptr [x] mov edx,unsigned int ptr [x+4] mov ebx,TEN9 div ebx mov ebx,pRemainder mov [ebx],edx } }