I cry now.
This is a discussion on Assembly in C code? within the C Programming forums, part of the General Programming Boards category; I cry now....
Hmm let's see....Java or AT&T syntax.
Damn, I think in this case Java might actually win.
AT&T syntax is:
Also under at&t:
Not all instructions are backwards (they need to pick one)
In C you don't write &a = c; to set c to the address of a, so you shouldn't mov src,dst
The data size the instruction operates on is in each mnemonic (it should just figure it out):
intel: mov ax,4
at&t: movw 5,%ax
Addressing is awkward:
intel: mov ax,[varFace*2+6]
at&t: movw 6(varFace,,2),%ax
It just sucks
>In C you don't write &a = c; to set c to the address of a, so you shouldn't mov src,dst
Speaking of backwards...
My best code is written with the delete key.