GNU Assembler - Criticism

Criticism

Those more accustomed to writing in Intel syntax have argued that not supporting the Intel syntax for assembly on the x86 and x86-64 platforms, as many other assemblers do, is a flaw.

However, since version 2.10Intel syntax can be used through use of the .intel_syntax directive. A simple C-inline assembler example using the .intel_syntax directive:

__asm__ __volatile__("\t.intel_syntax noprefix\n" "\tpop edx\n" "\tmov eax,edx\n" "\t.att_syntax prefix\n" : /* no outputs */ : "d" (save_var), "a" (temp_var) /* inputs */ : "eax", "edx" /* clobber list */);

Read more about this topic:  GNU Assembler

Famous quotes containing the word criticism:

    “The visual is sorely undervalued in modern scholarship. Art history has attained only a fraction of the conceptual sophistication of literary criticism.... Drunk with self-love, criticism has hugely overestimated the centrality of language to western culture. It has failed to see the electrifying sign language of images.”
    —Camille Paglia (b. 1947)

    “A tailor can adapt to any medium, be it poetry, be it criticism. As a poet, he can mend, and with the scissors of criticism he can divide.”
    —Franz Grillparzer (1791–1872)

    “Parents sometimes feel that if they don’t criticize their child, their child will never learn. Criticism doesn’t make people want to change; it makes them defensive.”
    —Laurence Steinberg (20th century)