2 ms·
> how one processor family got two different and incompatible Asm syntaxes Do you know the reason for this?
by adamnemecek 10y ago
> how one processor family got two different and incompatible Asm syntaxes
Do you know the reason for this?
- userbinator 10y agoUnfortunately not, but I'd love to hear from those who do.
- adamnemecek 10y agoI wouldn't be surprised if the reason was that people at Bell labs were mimicking some older syntax.
- pcwalton 10y agoYeah, I suspect this too. They did something similar with Golang (and Rob Pike still defends it, sadly).
- gens 10y agoI remember reading a long time ago about the syntaxes and the author said that it is because AT&T assembled faster. Makes sense considering that the intel syntax requires some backtracking (or more of temporary data). (please don't upvote if you agree, i'm at 69 points :)
- aap_ 10y agoFamiliarity with the VAX I'd say. Although that doesn't explain the % in front of registers. Maybe that came from SPARC? Looks like they tried to unify various asm syntaxes.