Close

6 Instructions and a Blink

A project log for Raspberry Pi Pico Emulator

Live-coding an Open-Source Pico Emulator from Scratch

uri-shakedUri Shaked 01/26/2021 at 22:122 Comments

In the first live stream we implemented 6 instructions: B, BL, LSLS, MOVS, PUSH, STR - just the bare minimum to run the main loop of the blink example.

Eventually, we got it running in the simulation, and also wrote unit tests for most of these instructions. 

You can find the code in the project's repo: https://github.com/wokwi/rp2040js

Now, it's your turn: I'd love to get your feedback about the format, and learn if you want me to do more live-streaming sessions showing how I gradually evolve this project into a usable, general-purpose Raspberry Pi Pico emulator.

Discussions

Uri Shaked wrote 01/27/2021 at 22:20 point

Thank you Steve! Next session will probably be on Tuesday same time, I'll post an update about it later this week

  Are you sure? yes | no

Steve Dommett wrote 01/27/2021 at 17:15 point

I very much enjoyed it.  I admire your bravery in streaming this.  I get the impression you've not used ARM much before.  Regardless, you made good progress in this session,  and I look forward to the next one.

  Are you sure? yes | no