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:

    Good criticism is very rare and always precious.
    Ralph Waldo Emerson (1803–1882)

    Nothing would improve newspaper criticism so much as the knowledge that it was to be read by men too hardy to acquiesce in the authoritative statement of the reviewer.
    Richard Holt Hutton (1826–1897)

    A bad short story or novel or poem leaves one comparatively calm because it does not exist, unless it gets a fake prestige through being mistaken for good work. It is essentially negative, it is something that has not come through. But over bad criticism one has a sense of real calamity.
    Rebecca West (1892–1983)