Comment on Raspberry Pi Pico: What is this code doing in its boot ROM, line 442?Comments−nynyny7OP4yLines 442-445, but apparently line numbers are stripped from GitHub URLs posted to HN: https://github.com/raspberrypi/pico-bootrom/blob/ef22cd8ede5...−Retr0id4yInterestingly, it was not present in the initial release. It was added here: https://github.com/raspberrypi/pico-bootrom/commit/ad55537bf...−chillingeffect4yfirst 2 bytes 0x11, 0x38... perhaps another scifi reference?−Retr0id4yI think you're right. This instruction is essentially redundant, since the following instruction also adds an offset - so I think it's very deliberate.−chillingeffect4yNext two bytes: 0xc0, 0x7a = "cola" ?−jhart994yIt is little endian so that will be '7AC0' or taco
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