[fpc-devel] FPC-JVM: Status report on Android
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Mon Aug 29 17:58:11 CEST 2011
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
More information about the fpc-devel
mailing list