'microcode' stackbased machine on top of parrotVM

mofo syne mofosyne at gmail.com
Sun Oct 28 13:40:49 UTC 2012


I've been reading about how JVM is stack based, and this is register based.
I also read about how both has its advantage and disadvantages. I also
recently read about how there are CPUs out there that are essentially RISC
in the core, but runs 'microcodes' on top to process/emulate higher level
instructions.

I'm just wondering if it would be possible to somehow include, a
'stackmachine VM' on top of parrotVM, or would the emulation overhead
defeat the purpose.

If we do take that route, would we make it so that a program instruction is
'either' stackbased, or register based (which is simpler as you can start
the 'stackbased microcode' on demand)? Or can it be possible to mix the
instruction sets to have bits of code be 'stack' and 'register'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20121029/ec7bf955/attachment.html>


More information about the parrot-dev mailing list