News for hackers. Stuff that matters.
Re:AT&T Syntax versus Intel Syntax by aap_ on Sunday November 13, 2022 @02:46PM (#33586603)
Much agreed. Intel syntax just seems somewhat alien.
Re:AT&T Syntax versus Intel Syntax by userbinator on Sunday November 13, 2022 @03:35PM (#33587074)
Intel syntax is more similar to ARM, MIPS, and even RISC-V's official syntax than AT&T.
Re:AT&T Syntax versus Intel Syntax by yakaccount4 on Sunday November 13, 2022 @03:16PM (#33586874)
That's interesting. My entire world revolves around x86 and ARM, so "Intel" syntax (which to me mostly means op dest, src) is what seems normal to me.
Re:AT&T Syntax versus Intel Syntax by aap_ on Sunday November 13, 2022 @03:34PM (#33587050)
Order of dst and src i have no strong feelings about, it's all the rest that i find weird about intel syntax.
Re:AT&T Syntax versus Intel Syntax by GeorgeTirebiter on Sunday November 13, 2022 @04:12PM (#33587394)
dest = src

That's how I think of it.

ALSO: I really do not like the MOV instruction; I much prefer LD. The Z-80 instruction names got everything mostly right.

Re:AT&T Syntax versus Intel Syntax by stevekemp on Saturday November 19, 2022 @05:19AM (#33668863)
I started with Z80, and later moved to X86. To me intel order is the correct order, and everything else is weird and wrong!
Re:AT&T Syntax versus Intel Syntax by secondcoming on Sunday November 13, 2022 @03:11PM (#33586825)
But all the Intel instruction documentation unsurprisingly uses the Intel syntax!