flat assembler
Message board for the users of flat assembler.
Index
> Main > movq in GAS |
Author |
|
drhowarddrfine 06 Jul 2009, 14:01
pal wrote:
GAS was built upon ATT syntax which was around long before most of the others so the question should be why the others are the opposite. But GAS was designed to be used by language compilers and not humans. |
|||
06 Jul 2009, 14:01 |
|
Fanael 06 Jul 2009, 15:12
Maybe
Code: movqq (%eax), %mm0 //;movq mm0, qword [eax] Code: .intel_syntax noprefix //;switch to Intel syntax movq mm0, qword ptr [eax] .att_syntax prefix //;switch back to AT&T syntax |
|||
06 Jul 2009, 15:12 |
|
pal 06 Jul 2009, 16:03
drhowarddrfine: Good point; I forgot it was based on the AT&T syntax.
Fanael: Good idea I guess; if I download GAS I'll try it. Cheers. |
|||
06 Jul 2009, 16:03 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.