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:

    “Of all the cants which are canted in this canting world—though the cant of hypocrites may be the worst—the cant of criticism is the most tormenting!”
    —Laurence Sterne (1713–1768)

    “I, with other Americans, have perhaps unduly resented the stream of criticism of American life ... more particularly have I resented the sneers at Main Street. For I have known that in the cottages that lay behind the street rested the strength of our national character.”
    —Herbert Hoover (1874–1964)

    “I consider criticism merely a preliminary excitement, a statement of things a writer has to clear up in his own head sometime or other, probably antecedent to writing; of no value unless it come to fruit in the created work later.”
    —Ezra Pound (1885–1972)