[2309] in java-interest
Re: Java VM clarifications
daemon@ATHENA.MIT.EDU (Tim Lindholm)
Fri Sep 29 07:37:53 1995
Date: Wed, 27 Sep 1995 20:44:02 -0700
From: lindholm@scndprsn.eng.sun.com (Tim Lindholm)
To: java-interest@java.Eng.Sun.COM, loofbour@cis.ohio-state.edu
> From: Nathan Loofbourrow <loofbour@cis.ohio-state.edu>
> Date: Wed, 27 Sep 1995 01:16:29 -0400
> To: java-interest@java
> Subject: Java VM clarifications
...
>
> 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.
>
> 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.
135 is i2d, 132 is iinc, and i2l is 133. There is no opcode 255 -- I'm
not sure what you are looking at there.
If you have the alpha3 source release and have built it, the definitive
mapping of instruction mnemonics to opcodes can be found in
build/solaris/java/JAVA/opcodes.h
-- Tim
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com