All Packages Class Hierarchy This Package Previous Next Index
Class BIT.highBIT.InstructionDoubleOperand
java.lang.Object
|
+----BIT.highBIT.Instruction
|
+----BIT.highBIT.InstructionDoubleOperand
- public class InstructionDoubleOperand
- extends Instruction
Represents a Java Virtual Machine instrucion that takes two operands.
- See Also:
- Instruction
-
InstructionDoubleOperand(int, DataInputStream, int, Routine)
- Constructor for InstructionDoubleOperand class.
-
InstructionDoubleOperand(int, short, Routine)
-
-
getLength()
- Returns the length (in bytes) of this instruction including opcode.
-
getOperandValue()
- Returns the 16 bit value resulting from operand1 and operand2.
-
setOperandValue(short)
- Sets the 16 bit value arg to operand1 and operand2.
-
write(DataOutputStream)
-
InstructionDoubleOperand
public InstructionDoubleOperand(int opcode,
DataInputStream iStream,
int offset,
Routine routine)
- Constructor for InstructionDoubleOperand class.
- Parameters:
- opcode - the opcode of this instruction
- iStream - the data input stream where the operands are gotten from
InstructionDoubleOperand
public InstructionDoubleOperand(int opcode,
short operand,
Routine routine)
write
public void write(DataOutputStream oStream)
- Overrides:
- write in class Instruction
getOperandValue
public int getOperandValue()
- Returns the 16 bit value resulting from operand1 and operand2.
- Overrides:
- getOperandValue in class Instruction
setOperandValue
public void setOperandValue(short value)
- Sets the 16 bit value arg to operand1 and operand2.
getLength
public int getLength()
- Returns the length (in bytes) of this instruction including opcode.
- Overrides:
- getLength in class Instruction
All Packages Class Hierarchy This Package Previous Next Index