3 ms·
I'd encourage every programmer to learn some basic assembly. Arguably ARM assembly is slightly easier to learn but either one will give you a better understandi
by ChrisSD 8y ago
I'd encourage every programmer to learn some basic assembly. Arguably ARM assembly is slightly easier to learn but either one will give you a better understanding of the API that your programming languages are abstracting over.
And in my experience it makes teaching about C pointers so much easier.
- djhworld 8y agoI'm going through this at the moment. I've come to the point in my life where I've realised I don't understand modern computers, so tasking myself with trying to learn about this stuff. My mental model of computing is stuck at around the Z80, I wrote a gameboy emulator a few years ago, but that's far away from what modern machines are doing!
- joshvm 8y agoMicros generally are great. You gey a good (high level) understanding of registers because you're interacting with them all the time in normal code. Pretty much everything you do with a microcontroller involves setting a bit in some register, and as you say, that register is really an address (this is usually eaiser to grok when reading values from an attached sensor that requires sending a memory offset). Also the instruction set tends to be quite small. I'd recommend starting with something like AVR though, a bit easier to get going than ARM.