News for hackers. Stuff that matters.
Re:What was the original reason for the design of AT&T assem... by exmadscientist on Sunday February 14, 2021 @04:27AM (#26130856)
> Otherwise you couldn't have symbols with the same names as registers.

Some of us would argue that's a feature, and a very important one at that!

Re:What was the original reason for the design of AT&T assem... by tlb on Sunday February 14, 2021 @05:07AM (#26131019)
There are a lot of registers. 150+ named ones, including rarely used ones like SPL -- the low 8 bits of the stack pointer. This restriction would break existing assembly code whenever Intel added a new one, which happens regularly.