editeur.c:406: parse error before ',' token
void setColor(color)
unsigned char color ;
{
/* ASM intel
__asm {
mov dx,SEQREG_A
mov al,2
mov ah,color
out dx,ax
}
ASM AT&T */
asm( "movw $SEQREG_A,%%dxnt"
"movb $2,%%alnt"
"movb %0,%%ahnt"
"outw %%ax,%%dx"
: "g" (color)
: "ax", "dx" ) ; //voilà la ligne 406.....
}
d'après ce que j'ai comme info, ce que g écrit ac la syntaxe AT&T devrait se compiler normalement, non ?
Enfin en tous cas je vois pas où est le pb
Si quelque bonne âme pouvait m'aider...



