All Packages Class Hierarchy This Package Previous Next Index
Class BIT.highBIT.InstructionTable
java.lang.Object
|
+----BIT.highBIT.InstructionTable
- public class InstructionTable
- extends Object
Contains constants used to represent Java Virtual Machine Instructions.
- See Also:
- Instruction
-
aaload
-
-
aastore
-
-
aconst_null
-
-
aload
-
-
aload_0
-
-
aload_1
-
-
aload_2
-
-
aload_3
-
-
anewarray
-
-
areturn
-
-
ARITHMETIC_INSTRUCTION
- ARITHMETIC_INSTRUCTION are arithmetic instructions.
-
arraylength
-
-
astore
-
-
astore_0
-
-
astore_1
-
-
astore_2
-
-
astore_3
-
-
athrow
-
-
baload
-
-
bastore
-
-
bipush
-
-
breakpoint
-
-
caload
-
-
castore
-
-
checkcast
-
-
CLASS_INSTRUCTION
- CLASS_INSTRUCTION instructions deal with class components.
-
COMPARISON_INSTRUCTION
-
COMPARISON_INSTRUCTION instructions do comparison.
-
CONDITIONAL_INSTRUCTION
- CONDITIONAL_INSTRUCTION instructions branch based on a condition.
-
CONSTANT_INSTRUCTION
- CONSTANT_INSTRUCTION are instructions that deal with constants,
or with constant pool table.
-
CONVERSION_INSTRUCTION
- CONVERSION_INSTRUCTION instructions convert types.
-
d2f
-
-
d2i
-
-
d2l
-
-
dadd
-
-
daload
-
-
dastore
-
-
dcmpg
-
-
dcmpl
-
-
dconst_0
-
-
dconst_1
-
-
ddiv
-
-
dload
-
-
dload_0
-
-
dload_1
-
-
dload_2
-
-
dload_3
-
-
dmul
-
-
dneg
-
-
drem
-
-
dreturn
-
-
dstore
-
-
dstore_0
-
-
dstore_1
-
-
dstore_2
-
-
dstore_3
-
-
dsub
-
-
dup
-
-
dup2
-
-
dup2_x1
-
-
dup2_x2
-
-
dup_x1
-
-
dup_x2
-
-
EXCEPTION_INSTRUCTION
- EXCEPTION_INSTRUCTION instructions deal with exceptions.
-
f2d
-
-
f2i
-
-
f2l
-
-
fadd
-
-
faload
-
-
fastore
-
-
fcmpg
-
-
fcmpl
-
-
fconst_0
-
-
fconst_1
-
-
fconst_2
-
-
fdiv
-
-
fload
-
-
fload_0
-
-
fload_1
-
-
fload_2
-
-
fload_3
-
-
fmul
-
-
fneg
-
-
frem
-
-
freturn
-
-
fstore
-
-
fstore_0
-
-
fstore_1
-
-
fstore_2
-
-
fstore_3
-
-
fsub
-
-
getfield
-
-
getstatic
-
-
GOTO
-
-
goto_w
-
-
i2b
-
-
i2c
-
-
i2d
-
-
i2f
-
-
i2l
-
-
i2s
-
-
iadd
-
-
iaload
-
-
iand
-
-
iastore
-
-
iconst_0
-
-
iconst_1
-
-
iconst_2
-
-
iconst_3
-
-
iconst_4
-
-
iconst_5
-
-
iconst_m1
-
-
idiv
-
-
if_acmpeq
-
-
if_acmpne
-
-
if_icmpeq
-
-
if_icmpge
-
-
if_icmpgt
-
-
if_icmple
-
-
if_icmplt
-
-
if_icmpne
-
-
ifeq
-
-
ifge
-
-
ifgt
-
-
ifle
-
-
iflt
-
-
ifne
-
-
ifnonnull
-
-
ifnull
-
-
iinc
-
-
iload
-
-
iload_0
-
-
iload_1
-
-
iload_2
-
-
iload_3
-
-
impdep1
-
-
impdep2
-
-
imul
-
-
ineg
-
-
INSTANCEOF
-
-
INSTRUCTIONCHECK_INSTRUCTION
- INSTRUCTIONCHECK_INSTRUCTION instructions deal with types.
-
InstructionTypeName
-
String representation of different types of instructions.
-
InstructionTypeTable
-
InstructionTypeTable is an array indicating which type an instruction is.
-
invokeinterface
-
-
invokespecial
-
-
invokestatic
-
-
invokevirtual
-
-
ior
-
-
irem
-
-
ireturn
-
-
ishl
-
-
ishr
-
-
istore
-
-
istore_0
-
-
istore_1
-
-
istore_2
-
-
istore_3
-
-
isub
-
-
iushr
-
-
ixor
-
-
jsr
-
-
jsr_w
-
-
l2d
-
-
l2f
-
-
l2i
-
-
ladd
-
-
laload
-
-
land
-
-
lastore
-
-
lcmp
-
-
lconst_0
-
-
lconst_1
-
-
ldc
-
-
ldc2_w
-
-
ldc_w
-
-
ldiv
-
-
lload
-
-
lload_0
-
-
lload_1
-
-
lload_2
-
-
lload_3
-
-
lmul
-
-
lneg
-
-
LOAD_INSTRUCTION
- LOAD_INSTRUCTION are load type instructions.
-
LOGICAL_INSTRUCTION
- LOGICAL_INSTRUCTION are logical instructions.
-
lookupswitch
-
-
lor
-
-
lrem
-
-
lreturn
-
-
lshl
-
-
lshr
-
-
lstore
-
-
lstore_0
-
-
lstore_1
-
-
lstore_2
-
-
lstore_3
-
-
lsub
-
-
lushr
-
-
lxor
-
-
MONITOR_INSTRUCTION
- MONITOR_INSTRUCTION instructions deal with monitors.
-
monitorenter
-
-
monitorexit
-
-
multianewarray
-
-
NEW
-
-
newarray
-
-
nop
-
-
NOP_INSTRUCTION
- NOP_INSTRUCTION are NOP instructions.
-
OBJECT_INSTRUCTION
- OBJECT_INSTRUCTION instructions deal with object components.
-
OpcodeName
-
OpcodeName is an array of opcode names which can be indexed by
opcode.
-
OperandNumber
-
OperandNumber is an array indicating how many operands an instruction
takes.
-
OTHER_INSTRCTION
- OTHER_INSTRUCTION instructions
OTHER_INSTRUCTION include
wide, impdep1, impdep2, and all other invalid opcodes.
-
pop
-
-
pop2
-
-
putfield
-
-
putstatic
-
-
ret
-
-
RETURN
-
-
saload
-
-
sastore
-
-
sipush
-
-
STACK_INSTRUCTION
- STACK_INSTRUCTION are instrctions that manipulate the stack.
-
STORE_INSTRUCTION
- STORE_INSTRUCTION are store type instructions.
-
swap
-
-
tableswitch
-
-
UNCONDITIONAL_INSTRUCTION
-
UNCONDITIONAL_INSTRUCTION instructions branch unconditionally.
-
wide
-
-
InstructionTable()
-
NOP_INSTRUCTION
public static final short NOP_INSTRUCTION
- NOP_INSTRUCTION are NOP instructions.
NOP_INSTRUCTION includes
nop instruction only.
CONSTANT_INSTRUCTION
public static final short CONSTANT_INSTRUCTION
- CONSTANT_INSTRUCTION are instructions that deal with constants,
or with constant pool table.
CONSTANT_INSTRUCTION includes
aconst_null, iconst_m1, iconst_0, iconst_1, iconst_2,
iconst_3, iconst_4, iconst_5, lconst_0, lconst_1,
fconst_0, fconst_1, fconst_2, dconst_0, dconst_1,
bipush, sipush, ldc, ldc_w, ldc2_w instructions.
LOAD_INSTRUCTION
public static final short LOAD_INSTRUCTION
- LOAD_INSTRUCTION are load type instructions.
LOAD_INSTRUCTION includes
iload, lload, fload, dload, aload, iload_0, iload_1, iload_2, iload_3,
lload_0, lload_1, lload_2, lload_3, fload_0, fload_1, fload_2, fload_3,
dload_0, dload_1, dload_2, dload_3, aload_0, aload_1, aload_2, aload_3,
iaload, laload, faload, daload, aaload, baload, caload, saload instructions.
STORE_INSTRUCTION
public static final short STORE_INSTRUCTION
- STORE_INSTRUCTION are store type instructions.
STORE_INSTRUCTION includes
istore, lstore, fstore, dstore, astore, istore_0, istore_1, istore_2, istore_3,
lstore_0, lstore_1, lstore_2, lstore_3, fstore_0, fstore_1, fstore_2, fstore_3,
dstore_0, dstore_1, dstore_2, dstore_3, astore_0, astore_1, astore_2, astore_3,
iastore, lastore, fastore, dastore, aastore, bastore, castore, sastore instructions.
STACK_INSTRUCTION
public static final short STACK_INSTRUCTION
- STACK_INSTRUCTION are instrctions that manipulate the stack.
STACK_INSTRUCTION includes
pop, pop2, dup, dup_x1, dup_x2, dup2, dup2_x1, dup2_x2, swap instructions.
ARITHMETIC_INSTRUCTION
public static final short ARITHMETIC_INSTRUCTION
- ARITHMETIC_INSTRUCTION are arithmetic instructions.
ARITHMETIC_INSTRUCTION includes
iadd, ladd, fadd, dadd, isub, lsub, fsub, dsub, imul, lmul, fmul, dmul,
idiv, ldiv, fdiv, ddiv, irem, irem, frem, drem, ineg, lneg, fneg, dneg,
ishl, lshl, ishr, lshr, iushr, lushr, iinc instructions.
LOGICAL_INSTRUCTION
public static final short LOGICAL_INSTRUCTION
- LOGICAL_INSTRUCTION are logical instructions.
LOGICAL_INSTRUCTION includes
iand, iand, ior, lor, ixor, lxor instructions.
CONVERSION_INSTRUCTION
public static final short CONVERSION_INSTRUCTION
- CONVERSION_INSTRUCTION instructions convert types.
CONVERSION_INSTRUCTION includes
i2l, i2f, i2d, l2i, l2f, l2d, f2i, f2l, f2d, d2i, d2l, d2f,
i2b, i2c, i2s instructions.
COMPARISON_INSTRUCTION
public static final short COMPARISON_INSTRUCTION
- COMPARISON_INSTRUCTION instructions do comparison.
COMPARISON_INSTRUCTION includes
lcmp, fcmpl, fcmpg, dcmpl, dcmpg instructions.
CONDITIONAL_INSTRUCTION
public static final short CONDITIONAL_INSTRUCTION
- CONDITIONAL_INSTRUCTION instructions branch based on a condition.
CONDITIONAL_INSTRUCTION includes
ifeq, ifne, iflt, ifge, ifgt, ifle, if_icmpeq, if_icmpne,
if_icmplt, if_icmpge, if_icmpgt, if_icmple, if_acmpeq, if_acmpne,
ifnull, ifnonnull instructions.
UNCONDITIONAL_INSTRUCTION
public static final short UNCONDITIONAL_INSTRUCTION
- UNCONDITIONAL_INSTRUCTION instructions branch unconditionally.
UNCONDITIONAL_INSTRUCTION includes
goto, jsr, ret, tableswitch, lookupswitch, ireturn, lreturn,
freturn, dreturn, areturn, return,
invokevirtual, invokenonvirtual, invokestatic,
invokeinterface, goto_w, jsr_w, ret_w, breakpoint instructions.
CLASS_INSTRUCTION
public static final short CLASS_INSTRUCTION
- CLASS_INSTRUCTION instructions deal with class components.
CLASS_INSTRUCTION includes
getstatic, putstatic instructions.
OBJECT_INSTRUCTION
public static final short OBJECT_INSTRUCTION
- OBJECT_INSTRUCTION instructions deal with object components.
OBJECT_INSTRUCTION includes
getfield, putfield, new, newarray, anewarray, arraylength instructions.
EXCEPTION_INSTRUCTION
public static final short EXCEPTION_INSTRUCTION
- EXCEPTION_INSTRUCTION instructions deal with exceptions.
EXCEPTION_INSTRUCTION includes
none.
INSTRUCTIONCHECK_INSTRUCTION
public static final short INSTRUCTIONCHECK_INSTRUCTION
- INSTRUCTIONCHECK_INSTRUCTION instructions deal with types.
INSTRUCTIONCHECK_INSTRUCTION includes
checkcast, instanceof instructions.
MONITOR_INSTRUCTION
public static final short MONITOR_INSTRUCTION
- MONITOR_INSTRUCTION instructions deal with monitors.
MONITOR_INSTRUCTION includes
monitorenter, monitorexit instructions.
OTHER_INSTRCTION
public static final short OTHER_INSTRCTION
- OTHER_INSTRUCTION instructions
OTHER_INSTRUCTION include
wide, impdep1, impdep2, and all other invalid opcodes.
InstructionTypeName
public static final String InstructionTypeName[]
- String representation of different types of instructions.
InstructionTypeTable
public static final short InstructionTypeTable[]
- InstructionTypeTable is an array indicating which type an instruction is.
One can modify this table if one wants to classify the instructions
differently than I have.
aaload
public static final short aaload
aastore
public static final short aastore
aconst_null
public static final short aconst_null
aload
public static final short aload
aload_0
public static final short aload_0
aload_1
public static final short aload_1
aload_2
public static final short aload_2
aload_3
public static final short aload_3
anewarray
public static final short anewarray
areturn
public static final short areturn
arraylength
public static final short arraylength
astore
public static final short astore
astore_0
public static final short astore_0
astore_1
public static final short astore_1
astore_2
public static final short astore_2
astore_3
public static final short astore_3
athrow
public static final short athrow
baload
public static final short baload
bastore
public static final short bastore
bipush
public static final short bipush
breakpoint
public static final short breakpoint
caload
public static final short caload
castore
public static final short castore
checkcast
public static final short checkcast
d2f
public static final short d2f
d2i
public static final short d2i
d2l
public static final short d2l
dadd
public static final short dadd
daload
public static final short daload
dastore
public static final short dastore
dcmpg
public static final short dcmpg
dcmpl
public static final short dcmpl
dconst_0
public static final short dconst_0
dconst_1
public static final short dconst_1
ddiv
public static final short ddiv
dload
public static final short dload
dload_0
public static final short dload_0
dload_1
public static final short dload_1
dload_2
public static final short dload_2
dload_3
public static final short dload_3
dmul
public static final short dmul
dneg
public static final short dneg
drem
public static final short drem
dreturn
public static final short dreturn
dstore
public static final short dstore
dstore_0
public static final short dstore_0
dstore_1
public static final short dstore_1
dstore_2
public static final short dstore_2
dstore_3
public static final short dstore_3
dsub
public static final short dsub
dup
public static final short dup
dup_x1
public static final short dup_x1
dup_x2
public static final short dup_x2
dup2
public static final short dup2
dup2_x1
public static final short dup2_x1
dup2_x2
public static final short dup2_x2
f2d
public static final short f2d
f2i
public static final short f2i
f2l
public static final short f2l
fadd
public static final short fadd
faload
public static final short faload
fastore
public static final short fastore
fcmpg
public static final short fcmpg
fcmpl
public static final short fcmpl
fconst_0
public static final short fconst_0
fconst_1
public static final short fconst_1
fconst_2
public static final short fconst_2
fdiv
public static final short fdiv
fload
public static final short fload
fload_0
public static final short fload_0
fload_1
public static final short fload_1
fload_2
public static final short fload_2
fload_3
public static final short fload_3
fmul
public static final short fmul
fneg
public static final short fneg
frem
public static final short frem
freturn
public static final short freturn
fstore
public static final short fstore
fstore_0
public static final short fstore_0
fstore_1
public static final short fstore_1
fstore_2
public static final short fstore_2
fstore_3
public static final short fstore_3
fsub
public static final short fsub
getfield
public static final short getfield
getstatic
public static final short getstatic
GOTO
public static final short GOTO
goto_w
public static final short goto_w
i2b
public static final short i2b
i2c
public static final short i2c
i2d
public static final short i2d
i2f
public static final short i2f
i2l
public static final short i2l
i2s
public static final short i2s
iadd
public static final short iadd
iaload
public static final short iaload
iand
public static final short iand
iastore
public static final short iastore
iconst_m1
public static final short iconst_m1
iconst_0
public static final short iconst_0
iconst_1
public static final short iconst_1
iconst_2
public static final short iconst_2
iconst_3
public static final short iconst_3
iconst_4
public static final short iconst_4
iconst_5
public static final short iconst_5
idiv
public static final short idiv
if_acmpeq
public static final short if_acmpeq
if_acmpne
public static final short if_acmpne
if_icmpeq
public static final short if_icmpeq
if_icmpne
public static final short if_icmpne
if_icmplt
public static final short if_icmplt
if_icmpge
public static final short if_icmpge
if_icmpgt
public static final short if_icmpgt
if_icmple
public static final short if_icmple
ifeq
public static final short ifeq
ifne
public static final short ifne
iflt
public static final short iflt
ifge
public static final short ifge
ifgt
public static final short ifgt
ifle
public static final short ifle
ifnonnull
public static final short ifnonnull
ifnull
public static final short ifnull
iinc
public static final short iinc
iload
public static final short iload
iload_0
public static final short iload_0
iload_1
public static final short iload_1
iload_2
public static final short iload_2
iload_3
public static final short iload_3
impdep1
public static final short impdep1
impdep2
public static final short impdep2
imul
public static final short imul
ineg
public static final short ineg
INSTANCEOF
public static final short INSTANCEOF
invokeinterface
public static final short invokeinterface
invokespecial
public static final short invokespecial
invokestatic
public static final short invokestatic
invokevirtual
public static final short invokevirtual
ior
public static final short ior
irem
public static final short irem
ireturn
public static final short ireturn
ishl
public static final short ishl
ishr
public static final short ishr
istore
public static final short istore
istore_0
public static final short istore_0
istore_1
public static final short istore_1
istore_2
public static final short istore_2
istore_3
public static final short istore_3
isub
public static final short isub
iushr
public static final short iushr
ixor
public static final short ixor
jsr
public static final short jsr
jsr_w
public static final short jsr_w
l2d
public static final short l2d
l2f
public static final short l2f
l2i
public static final short l2i
ladd
public static final short ladd
laload
public static final short laload
land
public static final short land
lastore
public static final short lastore
lcmp
public static final short lcmp
lconst_0
public static final short lconst_0
lconst_1
public static final short lconst_1
ldc
public static final short ldc
ldc_w
public static final short ldc_w
ldc2_w
public static final short ldc2_w
ldiv
public static final short ldiv
lload
public static final short lload
lload_0
public static final short lload_0
lload_1
public static final short lload_1
lload_2
public static final short lload_2
lload_3
public static final short lload_3
lmul
public static final short lmul
lneg
public static final short lneg
lookupswitch
public static final short lookupswitch
lor
public static final short lor
lrem
public static final short lrem
lreturn
public static final short lreturn
lshl
public static final short lshl
lshr
public static final short lshr
lstore
public static final short lstore
lstore_0
public static final short lstore_0
lstore_1
public static final short lstore_1
lstore_2
public static final short lstore_2
lstore_3
public static final short lstore_3
lsub
public static final short lsub
lushr
public static final short lushr
lxor
public static final short lxor
monitorenter
public static final short monitorenter
monitorexit
public static final short monitorexit
multianewarray
public static final short multianewarray
NEW
public static final short NEW
newarray
public static final short newarray
nop
public static final short nop
pop
public static final short pop
pop2
public static final short pop2
putfield
public static final short putfield
putstatic
public static final short putstatic
ret
public static final short ret
RETURN
public static final short RETURN
saload
public static final short saload
sastore
public static final short sastore
sipush
public static final short sipush
swap
public static final short swap
tableswitch
public static final short tableswitch
wide
public static final short wide
OpcodeName
public static final String OpcodeName[]
- OpcodeName is an array of opcode names which can be indexed by
opcode.
OperandNumber
public static final short OperandNumber[]
- OperandNumber is an array indicating how many operands an instruction
takes.
0 means that the instruction takes no operand.
1 means that the instruction takes one operand.
2 means that the instruction takes two operands.
4 means that the instruction takes four operands.
9 means that the instruction opcode is wide and that
depending on the first operand, either takes two or
four additional operands.
-1 means that the instruction is variable length - the instruction
opcode has to be either lookupswitch or tablelookup.
-2 means that the instruction opcode is not valid.
InstructionTable
public InstructionTable()
All Packages Class Hierarchy This Package Previous Next Index