Erreur en compilation

Fermé
marooh Messages postés 122 Date d'inscription vendredi 8 octobre 2010 Statut Membre Dernière intervention 16 novembre 2011 - 3 janv. 2011 à 22:35
Bonjour,
j'ai inserer un code asm dans mon code c et en compilant j'ai eu une erreur que je n'ai pas pu resoudre ("too many memory reference for "cmp")
voici le code asm
asm("cmp _taille,_a");
asm("jne fin");
asm("xor bx, bx");
asm("Mov cx,_taille");
asm("inner_loop:");
asm("mov ax, [Aux+bx]");
asm("mov cx,[itemset+bx]");
asm("Cmp ax,cx");
asm("Jne isdifferent");
asm("Add bx, 2");
asm("cmp bx,_taille");
asm("jne inner_loop");
asm("xor ax, ax");
asm("ret");
asm("isdifferent:");
asm("mov ax, 1");
asm("ret");
asm("fin:");