Die Java-VM

Id: jvm.tex,v 1.1 2004/10/19 11:34:39 waldmann Exp

Definiert hardware-unabhängige Plattform zur Ausführung von Java-Programmen.

Spezifikation: http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html

Method int example1(int, int)   
   0 iconst_0                      8 istore_2   
   1 istore_2                      9 iinc 1 -1  
   2 goto 12                      12 iload_1    
   5 iload_2                      13 ifgt 5     
   6 iload_0                      16 iload_2    
   7 iadd                         17 ireturn

benutzt operand stack zum Rechnen und lokalen Speicher (Tload/Tstore)

Anweisungen sind getypt (iload, ...)



Johannes Waldmann 2005-01-28