Skip to content

Comment on Raspberry Pi Pico: What is this code doing in its boot ROM, line 442?

Comments

Lines 442-445, but apparently line numbers are stripped from GitHub URLs posted to HN: https://github.com/raspberrypi/pico-bootrom/blob/ef22cd8ede5...

Interestingly, it was not present in the initial release. It was added here: https://github.com/raspberrypi/pico-bootrom/commit/ad55537bf...

first 2 bytes 0x11, 0x38... perhaps another scifi reference?

I think you're right. This instruction is essentially redundant, since the following instruction also adds an offset - so I think it's very deliberate.

Next two bytes: 0xc0, 0x7a = "cola" ?

It is little endian so that will be '7AC0' or taco

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.