News for hackers. Stuff that matters.
Re:AT&T Syntax versus Intel Syntax by colejohnson66 on Sunday November 13, 2022 @05:03PM (#33587855)
This. The only time “DWORD PTR” is required is when (1) you’re working with old assemblers, or (2) you’re using a memory operand with an immediate:

    add eax, [4]       ; inferred
    add [eax], 4       ; ambiguous
    add DWORD [eax], 4 ; explicit
A disassembler may output it when not necessary, however.

There are no comments on this comment yet.