ist.palcom.bytecode
Class Bytecodes

java.lang.Object
  extended by ist.palcom.bytecode.Bytecodes

public class Bytecodes
extends java.lang.Object


Nested Class Summary
static class Bytecodes.Bytecode
           
 
Field Summary
static byte branch
           
static byte branch_identical
           
static byte branch_if_false
           
static byte branch_if_true
           
static Bytecodes.Bytecode[] bytecodes
           
static byte call
           
static byte dup
           
static byte halt
           
static byte pop
           
static byte pop_argument
           
static byte pop_field
           
static byte pop_local
           
static byte push_argument
           
static byte push_block
           
static byte push_constant
           
static byte push_field
           
static byte push_global
           
static byte push_local
           
static byte return_local
           
static byte return_non_local
           
static byte send
           
static byte super_send
           
static byte swap
           
 
Constructor Summary
Bytecodes()
           
 
Method Summary
static int get_bytecode_length(byte bytecode)
           
static boolean is_branch_bytecode(byte bytecode)
           
static java.lang.String toString(int bytecode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

halt

public static final byte halt
See Also:
Constant Field Values

dup

public static final byte dup
See Also:
Constant Field Values

push_local

public static final byte push_local
See Also:
Constant Field Values

push_argument

public static final byte push_argument
See Also:
Constant Field Values

push_field

public static final byte push_field
See Also:
Constant Field Values

push_block

public static final byte push_block
See Also:
Constant Field Values

push_constant

public static final byte push_constant
See Also:
Constant Field Values

push_global

public static final byte push_global
See Also:
Constant Field Values

pop

public static final byte pop
See Also:
Constant Field Values

pop_local

public static final byte pop_local
See Also:
Constant Field Values

pop_argument

public static final byte pop_argument
See Also:
Constant Field Values

pop_field

public static final byte pop_field
See Also:
Constant Field Values

send

public static final byte send
See Also:
Constant Field Values

super_send

public static final byte super_send
See Also:
Constant Field Values

return_local

public static final byte return_local
See Also:
Constant Field Values

return_non_local

public static final byte return_non_local
See Also:
Constant Field Values

branch

public static final byte branch
See Also:
Constant Field Values

branch_identical

public static final byte branch_identical
See Also:
Constant Field Values

swap

public static final byte swap
See Also:
Constant Field Values

call

public static final byte call
See Also:
Constant Field Values

branch_if_true

public static final byte branch_if_true
See Also:
Constant Field Values

branch_if_false

public static final byte branch_if_false
See Also:
Constant Field Values

bytecodes

public static final Bytecodes.Bytecode[] bytecodes
Constructor Detail

Bytecodes

public Bytecodes()
Method Detail

is_branch_bytecode

public static boolean is_branch_bytecode(byte bytecode)

get_bytecode_length

public static int get_bytecode_length(byte bytecode)

toString

public static java.lang.String toString(int bytecode)
Parameters:
bytecode -
Returns:
String representation