Michael Schnell schrieb:

The JVM bytecode is a pure stackbased one while the Dalvik one uses registers.

Yep.

That is why I am astonished that converting Java-Bytecode to Dalvik code should be an easy task.

A stackbased internal or intermediate representation is the most general one, from which a compiler can decide which registers to use for expression evaluation etc. FPC itself uses registers only for the actual code generation, depending on how many registers are available on the target machine.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to