3 ms·
> they used AT&T assembly syntax, which made it worthless This is so silly. The two assembly syntaxes are equivalent and include just as much information. It d
by chrisseaton 10y ago
> they used AT&T assembly syntax, which made it worthless
This is so silly. The two assembly syntaxes are equivalent and include just as much information. It doesn't make much to mentally flick between the two.
- adamnemecek 10y agoWhile they are the same, Intel is much easier to read.
- aerioux 10y agothis is an older version -- the actual book this is excerpted from uses Intel mostly now (the canonical CSPP book) and also has many revisions to 'modernize' it, such as reducing the x86 sections in favor of x64
- SilasX 10y agoOy. With respect, you're both wrong. AT&T's is uglier, regardless of the equivalence, and this matters for the cognitive load. But it's not so bad that anyone who uses it should be dismissed.
- kabdib 10y agoHaving multiple syntaxes and having to switch between them is error-prone and leads to bugs. Except in cases where manufacturers are totally clueless about syntax, I have far preferred using the "official" assembly, rather than the Unix version. (In some happy cases these are the same). Thank God I don't write assembly language much any more; maybe a few hundred to a thousand lines on a modern embedded product. At that level, it's still fun. [I've been using assembly since the late 1970s. Z-80 and 6502 FTW! :-)]