3 ms·
This is a serious question: what's the point of programming in assembly if you don't want to control the registers? And what do you do if the assembler does a p
by claystu 11y ago
This is a serious question: what's the point of programming in assembly if you don't want to control the registers? And what do you do if the assembler does a poor job of register allocation? If you hand optimize it, you're back in normal assembly; if you ignore it, you might as well not check in the first place.
Once you sacrifice the registers, assembly just becomes a non-portable programming language without any libraries. Unless you build it out with macros and capitalize on it being a programmable programming language, but then why not go with Forth or some kind of Lisp?
What does no-register assembly gain you that higher level languages don't already offer?