com.tapina.robe.runtime.instruction
Class RegisterOperand
java.lang.Object
com.tapina.robe.runtime.instruction.Operand
com.tapina.robe.runtime.instruction.RegisterOperand
- public final class RegisterOperand
- extends Operand
Created by IntelliJ IDEA.
User: gareth
Date: Aug 23, 2003
Time: 10:54:20 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHIFT_LOGICAL_LEFT
public static final int SHIFT_LOGICAL_LEFT
- See Also:
- Constant Field Values
SHIFT_LOGICAL_RIGHT
public static final int SHIFT_LOGICAL_RIGHT
- See Also:
- Constant Field Values
SHIFT_ARITHMETIC_RIGHT
public static final int SHIFT_ARITHMETIC_RIGHT
- See Also:
- Constant Field Values
SHIFT_ROTATE_RIGHT
public static final int SHIFT_ROTATE_RIGHT
- See Also:
- Constant Field Values
RegisterOperand
public RegisterOperand(int registerNumber)
RegisterOperand
public RegisterOperand(int registerNumber,
int shiftType,
Operand shiftValue)
getValue
public final int getValue(CPU cpu)
- Specified by:
getValue
in class Operand
dumpJavaSource
public void dumpJavaSource(java.lang.String varName,
java.io.Writer out)
throws java.io.IOException
- Overrides:
dumpJavaSource
in class Operand
- Throws:
java.io.IOException
getJavaExpression
public java.lang.String getJavaExpression()
isShiftPerformed
public final boolean isShiftPerformed()
isCarryFlagSet
public final boolean isCarryFlagSet()
Copyright © 2003-2005 . All Rights Reserved.