[2316] in java-interest

home help back first fref pref prev next nref lref last post

Re: Java VM clarifications

daemon@ATHENA.MIT.EDU (Jim Graham)
Fri Sep 29 08:29:58 1995

Date: Wed, 27 Sep 1995 15:39:30 -0700
From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
To: java-interest@java.Eng.Sun.COM, loofbour@cis.ohio-state.edu


> I'm seeing a few opcodes for which the alpha3 Java VM docs aren't
> adequate. To wit:
> 
> 1. Opcodes 135 and 255 appear in compiled code (such as the Java
>    contest winners :-), but isn't mentioned anywhere in the VM spec,
>    from what I can tell.

135 is i2d

255 doesn't exist.  The interpreter would throw an exception (InternalError)
if it was encountered.  Are you sure you parsed the bytecodes correctly?

> 2. Opcode 132 is mentioned twice in the spec, once as the i2l type
>    conversion instruction and once as the iinc increment
>    instruction. I imagine this relates to #1 above.

132 is iinc
133 is i2l

				...jim
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post