The virtual machine EmbedVM
2011-05-01: the virtual machine (EmbedVM) explained 1/2
2011-05-01: the virtual machine (EmbedVM) explained 2/2
EmbedVm is a fully functional virtual machine that runs inside the ATMEL MCU series.
You can find its source here
The VM itself takes ~3KB of memory and consosts of ~300 lines of code.
There are two ways to write programs to run inside the virtual machine.