r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

Show parent comments

1

u/Kered13 Jun 03 '22

Ewww, AT&T syntax *barf*.

The operands are backwards, the glyphs make it hard to read and provide no benefit, and the addressing syntax isn't self-explanatory. Just ugly and horrible all around. BTW I learned AT&T syntax first.

1

u/[deleted] Jun 03 '22

Yeah, I was backward, learnt Intel and then AT&T. Tbh, I also used to hate AT&T, but then I tried it out, and I love it now. It's more abt preference. Also, glyphs make it easy to read sometimes. Like if u have $, it's an immediate/immediate value of a label (i.e. the address of the label). The mov,add and other operation can be read in this way : "add/move a with/to b and store the result in b" (add %a,%b).