I have a code written in NASM syntax and is working well. I then used intel2gas to convert my NASM code into GAS. (used -i , the default which is intel to at&t format).
I never used GAS before, just pure NASM in all my assembly needs. I used intel2gas to learn the GAS code format. Now, I have some line in the converted GAS code which have warnings from intel2gas and was appended with a 'MISMATCH: ' prefix.
I have managed the others like in the .data and .bss sections, but I still have these:
MISMATCH: "lea ecx, [array + esi]"
MISMATCH: "lea ebx, [array + esi + 1]"
MISMATCH: "mov al, [array + esi]"
MISMATCH: "mov cl, [array + esi + 1]"
What's the equivalent GAS syntax of the NASM lines above?
Why did intel2gas did not completely convert my code and had left several MISMATCH lines?
Please help, thanks!
Using Ubuntu 13 x86