This time round, I’ll wrap up my coverage of the key ARMv6-M Thumb instructions and mnemonics that you can use to command the Raspberry Pi RP2040. There are not many instructions left that were not covered in parts one and two, and I won’t be including all the remaining mnemonics, only those you’re likely to use frequently.
Last time, I covered the basics of doing ARM assembly programming on the Raspberry Pi Pico’s RP2040 microcontroller. Now it’s time to get to grips with the dozens of instructions to which the RP2040’s Cortex-M0+ cores respond.
When I got my first microcomputer, I already knew Basic programming. My machine had a different Basic dialect from the one I’d learned at school, and there was a stack of graphics and sound functionality to get to grips with too, but it wasn’t long before I felt I’d mastered the high-level stuff and that it was time to move on to machine code. That’s how I’ve come to feel about the Raspberry Pi Pico’s RP2040 chip. The time’s right to learn ARM assembly programming on the Pico.
You have to take your hat off to Apple: it knows how to transition from one processor architecture to another, completely incompatible one. It did it in the mid-1990s with the switch from the Motorola 680×0 series to PowerPC, then again a decade or so later when it put Intel inside new Macs. Now we get ARM.Continue reading
Time was when chip makers’ processor evaluation boards were well beyond the reach of ordinary mortals. That didn’t matter, of course: ordinary mortals weren’t interested in small, nude motherboards designed to help designers of embedded systems judge a microprocessor’s suitability for the application they were working on.