All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class BIT.highBIT.InstructionQuadOperand

java.lang.Object
   |
   +----BIT.highBIT.Instruction
           |
           +----BIT.highBIT.InstructionQuadOperand

public class InstructionQuadOperand
extends Instruction
Represents a Java Virtual Machine instrucion that takes four operands.

See Also:
Instruction

Constructor Index

 o InstructionQuadOperand(int, DataInputStream, int, Routine)
Constructor for InstructionQuadOperand class.

Method Index

 o getDoubleOperandValue()
 o getLength()
Returns the length (in bytes) of this instruction including opcode.
 o getOperandValue()
Returns the 32 bit value resulting from operand1, operand2, operand3 and operand4
 o write(DataOutputStream)

Constructors

 o InstructionQuadOperand
 public InstructionQuadOperand(int opcode,
                               DataInputStream iStream,
                               int offset,
                               Routine routine)
Constructor for InstructionQuadOperand class.

Parameters:
opcode - the opcode of this instruction
iStream - the data input stream where the operands are gotten from

Methods

 o write
 public void write(DataOutputStream oStream)
Overrides:
write in class Instruction
 o getOperandValue
 public int getOperandValue()
Returns the 32 bit value resulting from operand1, operand2, operand3 and operand4

Overrides:
getOperandValue in class Instruction
 o getDoubleOperandValue
 public int getDoubleOperandValue()
Overrides:
getDoubleOperandValue in class Instruction
 o 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