I’m thinking of how much work it would be to write an assembler interpreter in PIC assembler. Probably sounds like the dumbest idea in the world, right ;-)
I’ve been toying with this idea lately for sort of futureproofing microcontroller-based designs, and adding some new possibilities for specific applications (polymorphic / self-modifying code,
(
Read more... )
Comments 2
(The comment has been removed)
Not at all; my whole idea is to enable executing code from microcontroller RAM, which is normally not possible. :-) The decision to use the CPU's own opcodes as the interpreted language is just laziness on my part so I don't have to invent a language or write a compiler. The fact that users can continue using any existing bizzare path to generating those opcodes (Java->c->asm->opcodes) is just a happy coincidence.
Reply
Reply
Leave a comment