Post by b***@yahoo.comI have a three operand IMUL. How do I order these in AT&T syntax?
IMUL operand 3, operand 2, operand 1
?
Now remember, this is ASSEMBLY -- we like to start our counting at
zero. Like so:
IMUL operand 2, operand 1, operand 0
But this reveals that you REALLY only have 2 operands {we've just
counted them}. Since this fact won't be easily understood by others,
we have to borrow some 'fancy footwork' from academia to do a little
deception to cover our tracks [notice that this also allows counting
from left to right, which also might be easier on the others]:
N equ 3
IMUL operand N-0, operand N-1, operand N-2
Nathan.