How I stopped worrying and started loving the Assembly
11–20 of 38 posts
Re: How I stopped worrying and started loving the Assembly
#12Probably my best project was a FORTH system. It used direct threading so each FORTH word was a proper assembly routine. It had primitive peephole optimization too! It was all written in 68000 assembler with K-Seka.
So if you want an assembler to learn, 68000 is a great choice. However you could learn 32 bit ARM which I came to prefer and that will still run on modern systems (at least if they have been compiled with 32 bit support or on the plentiful ARM microcontrollers).
Re: How I stopped worrying and started loving the Assembly
#13Re: How I stopped worrying and started loving the Assembly
#14Re: How I stopped worrying and started loving the Assembly
#15Re: How I stopped worrying and started loving the Assembly
#16Where would you suggest someone starts if they want to get into this stuff? Start writing an emulator? Which one would you recommend?
Re: How I stopped worrying and started loving the Assembly
#17Am I the only one who won’t click on links to something on medium.com?
Re: How I stopped worrying and started loving the Assembly
#18Some people are drawn to assembly and that’s great. Me personally, after a course in undergrad studying MIPS assembly, I learned to appreciate what all the compiler does for us and moved on!
Re: How I stopped worrying and started loving the Assembly
#19I will wait for when efficiency (as well as speed) comes from elegance in the programming language itself rather than the human mind having to cater to some fundamental archaic syntax.
Re: How I stopped worrying and started loving the Assembly
#20I want to like it but my brain is too feeble for it. I will wait for when efficiency (as well as speed) comes from elegance in the programming language itself rather than the human mind having to cater to some fundamental archaic syntax.
Value goes into register, do some math on register, compare register to immediate, etc.
The difficulty comes the more code you add. The same thing happens in nearly any language. A single file python script is easy, the complexity in a mature async python app is hard. It's easy to add some numbers and val >> stout in c++, but managing all the dependencies and build chain is hard in a million line program.
It's no different, but assembly is neat because you can isolate the complexity via inlining and just step back and tell the computer exactly what to do.