3 ms·
does anyone know why at&t opcodes ever existed in the first place?
by zabzonk 4y ago
does anyone know why at&t opcodes ever existed in the first place?
- masklinn 4y agoIIRC it’s the syntax for an older assembly (I want to say DEC’s) which the UR-Unix kept using (and extending) as it was ported to new architectures rather than use whatever the platform’s assembly was.
- boring_twenties 4y agoI can't find it now but I could swear there was an hn post about that very thing just in the past few weeks.
- msla 4y agoHere's one explanation: https://news.ycombinator.com/item?id=33586476 https://news.ycombinator.com/item?id=33586476 which cites this PDF: https://www.bell-labs.com/usr/dmr/www/otherports/newp.pdf https://www.bell-labs.com/usr/dmr/www/otherports/newp.pdf
- andrewf 4y agoNot for the last time :) https://go.googlesource.com/go/+/refs/tags/go1.19.4/src/runtime/asm_amd64.s https://go.googlesource.com/go/+/refs/tags/go1.19.4/src/runt...