001: /*******************************************************************************
002: * Copyright (c) 2000, 2006 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM Corporation - initial API and implementation
010: *******************************************************************************/package org.eclipse.jdt.core.util;
011:
012: /**
013: * Description of each opcode mnemonic according to the JVM specifications.
014: *
015: * This interface is not intended to be implemented by clients.
016: *
017: * @since 2.0
018: */
019: public interface IOpcodeMnemonics {
020:
021: int NOP = 0x00;
022: int ACONST_NULL = 0x01;
023: int ICONST_M1 = 0x02;
024: int ICONST_0 = 0x03;
025: int ICONST_1 = 0x04;
026: int ICONST_2 = 0x05;
027: int ICONST_3 = 0x06;
028: int ICONST_4 = 0x07;
029: int ICONST_5 = 0x08;
030: int LCONST_0 = 0x09;
031: int LCONST_1 = 0x0A;
032: int FCONST_0 = 0x0B;
033: int FCONST_1 = 0x0C;
034: int FCONST_2 = 0x0D;
035: int DCONST_0 = 0x0E;
036: int DCONST_1 = 0x0F;
037: int BIPUSH = 0x10;
038: int SIPUSH = 0x11;
039: int LDC = 0x12;
040: int LDC_W = 0x13;
041: int LDC2_W = 0x14;
042: int ILOAD = 0x15;
043: int LLOAD = 0x16;
044: int FLOAD = 0x17;
045: int DLOAD = 0x18;
046: int ALOAD = 0x19;
047: int ILOAD_0 = 0x1A;
048: int ILOAD_1 = 0x1B;
049: int ILOAD_2 = 0x1C;
050: int ILOAD_3 = 0x1D;
051: int LLOAD_0 = 0x1E;
052: int LLOAD_1 = 0x1F;
053: int LLOAD_2 = 0x20;
054: int LLOAD_3 = 0x21;
055: int FLOAD_0 = 0x22;
056: int FLOAD_1 = 0x23;
057: int FLOAD_2 = 0x24;
058: int FLOAD_3 = 0x25;
059: int DLOAD_0 = 0x26;
060: int DLOAD_1 = 0x27;
061: int DLOAD_2 = 0x28;
062: int DLOAD_3 = 0x29;
063: int ALOAD_0 = 0x2A;
064: int ALOAD_1 = 0x2B;
065: int ALOAD_2 = 0x2C;
066: int ALOAD_3 = 0x2D;
067: int IALOAD = 0x2E;
068: int LALOAD = 0x2F;
069: int FALOAD = 0x30;
070: int DALOAD = 0x31;
071: int AALOAD = 0x32;
072: int BALOAD = 0x33;
073: int CALOAD = 0x34;
074: int SALOAD = 0x35;
075: int ISTORE = 0x36;
076: int LSTORE = 0x37;
077: int FSTORE = 0x38;
078: int DSTORE = 0x39;
079: int ASTORE = 0x3A;
080: int ISTORE_0 = 0x3B;
081: int ISTORE_1 = 0x3C;
082: int ISTORE_2 = 0x3D;
083: int ISTORE_3 = 0x3E;
084: int LSTORE_0 = 0x3F;
085: int LSTORE_1 = 0x40;
086: int LSTORE_2 = 0x41;
087: int LSTORE_3 = 0x42;
088: int FSTORE_0 = 0x43;
089: int FSTORE_1 = 0x44;
090: int FSTORE_2 = 0x45;
091: int FSTORE_3 = 0x46;
092: int DSTORE_0 = 0x47;
093: int DSTORE_1 = 0x48;
094: int DSTORE_2 = 0x49;
095: int DSTORE_3 = 0x4A;
096: int ASTORE_0 = 0x4B;
097: int ASTORE_1 = 0x4C;
098: int ASTORE_2 = 0x4D;
099: int ASTORE_3 = 0x4E;
100: int IASTORE = 0x4F;
101: int LASTORE = 0x50;
102: int FASTORE = 0x51;
103: int DASTORE = 0x52;
104: int AASTORE = 0x53;
105: int BASTORE = 0x54;
106: int CASTORE = 0x55;
107: int SASTORE = 0x56;
108: int POP = 0x57;
109: int POP2 = 0x58;
110: int DUP = 0x59;
111: int DUP_X1 = 0x5A;
112: int DUP_X2 = 0x5B;
113: int DUP2 = 0x5C;
114: int DUP2_X1 = 0x5D;
115: int DUP2_X2 = 0x5E;
116: int SWAP = 0x5F;
117: int IADD = 0x60;
118: int LADD = 0x61;
119: int FADD = 0x62;
120: int DADD = 0x63;
121: int ISUB = 0x64;
122: int LSUB = 0x65;
123: int FSUB = 0x66;
124: int DSUB = 0x67;
125: int IMUL = 0x68;
126: int LMUL = 0x69;
127: int FMUL = 0x6A;
128: int DMUL = 0x6B;
129: int IDIV = 0x6C;
130: int LDIV = 0x6D;
131: int FDIV = 0x6E;
132: int DDIV = 0x6F;
133: int IREM = 0x70;
134: int LREM = 0x71;
135: int FREM = 0x72;
136: int DREM = 0x73;
137: int INEG = 0x74;
138: int LNEG = 0x75;
139: int FNEG = 0x76;
140: int DNEG = 0x77;
141: int ISHL = 0x78;
142: int LSHL = 0x79;
143: int ISHR = 0x7A;
144: int LSHR = 0x7B;
145: int IUSHR = 0x7C;
146: int LUSHR = 0x7D;
147: int IAND = 0x7E;
148: int LAND = 0x7F;
149: int IOR = 0x80;
150: int LOR = 0x81;
151: int IXOR = 0x82;
152: int LXOR = 0x83;
153: int IINC = 0x84;
154: int I2L = 0x85;
155: int I2F = 0x86;
156: int I2D = 0x87;
157: int L2I = 0x88;
158: int L2F = 0x89;
159: int L2D = 0x8A;
160: int F2I = 0x8B;
161: int F2L = 0x8C;
162: int F2D = 0x8D;
163: int D2I = 0x8E;
164: int D2L = 0x8F;
165: int D2F = 0x90;
166: int I2B = 0x91;
167: int I2C = 0x92;
168: int I2S = 0x93;
169: int LCMP = 0x94;
170: int FCMPL = 0x95;
171: int FCMPG = 0x96;
172: int DCMPL = 0x97;
173: int DCMPG = 0x98;
174: int IFEQ = 0x99;
175: int IFNE = 0x9A;
176: int IFLT = 0x9B;
177: int IFGE = 0x9C;
178: int IFGT = 0x9D;
179: int IFLE = 0x9E;
180: int IF_ICMPEQ = 0x9F;
181: int IF_ICMPNE = 0xA0;
182: int IF_ICMPLT = 0xA1;
183: int IF_ICMPGE = 0xA2;
184: int IF_ICMPGT = 0xA3;
185: int IF_ICMPLE = 0xA4;
186: int IF_ACMPEQ = 0xA5;
187: int IF_ACMPNE = 0xA6;
188: int GOTO = 0xA7;
189: int JSR = 0xA8;
190: int RET = 0xA9;
191: int TABLESWITCH = 0xAA;
192: int LOOKUPSWITCH = 0xAB;
193: int IRETURN = 0xAC;
194: int LRETURN = 0xAD;
195: int FRETURN = 0xAE;
196: int DRETURN = 0xAF;
197: int ARETURN = 0xB0;
198: int RETURN = 0xB1;
199: int GETSTATIC = 0xB2;
200: int PUTSTATIC = 0xB3;
201: int GETFIELD = 0xB4;
202: int PUTFIELD = 0xB5;
203: int INVOKEVIRTUAL = 0xB6;
204: int INVOKESPECIAL = 0xB7;
205: int INVOKESTATIC = 0xB8;
206: int INVOKEINTERFACE = 0xB9;
207: int NEW = 0xBB;
208: int NEWARRAY = 0xBC;
209: int ANEWARRAY = 0xBD;
210: int ARRAYLENGTH = 0xBE;
211: int ATHROW = 0xBF;
212: int CHECKCAST = 0xC0;
213: int INSTANCEOF = 0xC1;
214: int MONITORENTER = 0xC2;
215: int MONITOREXIT = 0xC3;
216: int WIDE = 0xC4;
217: int MULTIANEWARRAY = 0xC5;
218: int IFNULL = 0xC6;
219: int IFNONNULL = 0xC7;
220: int GOTO_W = 0xC8;
221: int JSR_W = 0xC9;
222:
223: int BREAKPOINT = 0xCA;
224: int IMPDEP1 = 0xFE;
225: int IMPDEP2 = 0xFF;
226: }
|