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
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel