All Packages Class Hierarchy This Package Previous Next Index
Class BIT.highBIT.InstructionSingleOperand
java.lang.Object
|
+----BIT.highBIT.Instruction
|
+----BIT.highBIT.InstructionSingleOperand
- public class InstructionSingleOperand
- extends Instruction
Represents a Java Virtual Machine instrucion that takes one operand.
- See Also:
- Instruction
-
InstructionSingleOperand(int, byte, Routine)
-
-
InstructionSingleOperand(int, DataInputStream, int, Routine)
- Constructor for InstructionSingleOperand class.
-
getLength()
- Returns the length (in bytes) of this instruction including opcode.
-
getOperandValue()
- Returns the 8 bit value resulting from operand1.
-
write(DataOutputStream)
-
InstructionSingleOperand
public InstructionSingleOperand(int opcode,
DataInputStream iStream,
int offset,
Routine routine)
- Constructor for InstructionSingleOperand class.
- Parameters:
- opcode - the opcode of this instruction
- iStream - the data input stream where the operands are gotten from
InstructionSingleOperand
public InstructionSingleOperand(int opcode,
byte operand1,
Routine routine)
write
public void write(DataOutputStream oStream)
- Overrides:
- write in class Instruction
getOperandValue
public int getOperandValue()
- Returns the 8 bit value resulting from operand1.
- Overrides:
- getOperandValue in class Instruction
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