[fpc-devel] New FPC target: JVM
Michael Schnell
mschnell at lumino.de
Mon Aug 22 11:47:31 CEST 2011
On 08/20/2011 01:30 PM, Felipe Monteiro de Carvalho wrote:
> I ask because Android does not use Java Bytecode, it has it's own,
> completely different bytecode.
Ooops. Dalvik in fact completely off-standard on that behalf !
Wikipedia sais:
Standard Java bytecode <http://en.wikipedia.org/wiki/Java_bytecode>
executes 8-bit stack instructions. Local variables must be copied to or
from the operand stack by separate instructions. Dalvik instead uses its
own 16-bit instruction set that works directly on local variables. The
local variable is commonly picked by a 4-bit 'virtual register' field.
This lowers Dalvik's instruction count and raises its interpreter speed.
-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110822/6f3eae24/attachment.html>
More information about the fpc-devel
mailing list