Hi Guys,
Probably on odd question. But I have written a simple kernel / OS type thing on my Pico and can accept keyboard input etc.
But I am wondering if it is possible to execute user generated ASM from within that, even if it is from the second core perhaps.
Assuming I have the correct hex codes for the opcodes & operands for something like this for an endless loop, stored in an array (or somewhere in RAM)...
... is it possible to actually execute that code. (Knowing in this example that it is and endless loop).
I'm thinking along the lines of the C64, where you could peek and poke asm in to memory and execute that with a sys call.
Is this at all possible with the RP2xxx's?
Probably on odd question. But I have written a simple kernel / OS type thing on my Pico and can accept keyboard input etc.
But I am wondering if it is possible to execute user generated ASM from within that, even if it is from the second core perhaps.
Assuming I have the correct hex codes for the opcodes & operands for something like this for an endless loop, stored in an array (or somewhere in RAM)...
Code:
loop jump loopI'm thinking along the lines of the C64, where you could peek and poke asm in to memory and execute that with a sys call.
Is this at all possible with the RP2xxx's?
Statistics: Posted by Lonewolff — Thu Jun 19, 2025 1:11 am