HSC2011/Software/EmbedVM: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(The virtual machine EmbedVM)
(The virtual machine EmbedVM)
Zeile 18: Zeile 18:
 
to other CPU architectures as it is entirely written in C.
 
to other CPU architectures as it is entirely written in C.
  
You can find [http://svn.clifford.at/embedvm/trunk/ its source here].
+
You can find its sources [http://svn.clifford.at/embedvm/trunk/ here] and the project website
 +
[http://www.clifford.at/embedvm/ here].
  
 
The VM itself takes ~3KB of program memory and consosts of ~300 lines of code.
 
The VM itself takes ~3KB of program memory and consosts of ~300 lines of code.

Version vom 2. Mai 2011, 19:12 Uhr

< HSC2011


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. It can easily be ported to other CPU architectures as it is entirely written in C.

You can find its sources here and the project website here.

The VM itself takes ~3KB of program memory and consosts of ~300 lines of code.

There are two ways to write programs to run inside the virtual machine.

There are two compilers that target EmbedVM: There is a compiler for a C-like high level language and there is a compiler that can transform python code to VM bytecode. The compiler for the C-like language is part of the EmbedVM sources. The python compiler can be found here.