org.mythsim.core
Class ControlWord
java.lang.Object
|
+--org.mythsim.core.ControlWord
- public class ControlWord
- extends Object
A Control Word.
Constructor Summary |
ControlWord()
creates an empty control word |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
R0_WRITE
public static final int R0_WRITE
- See Also:
- Constant Field Values
R1_WRITE
public static final int R1_WRITE
- See Also:
- Constant Field Values
R2_WRITE
public static final int R2_WRITE
- See Also:
- Constant Field Values
R3_WRITE
public static final int R3_WRITE
- See Also:
- Constant Field Values
R4_WRITE
public static final int R4_WRITE
- See Also:
- Constant Field Values
R5_WRITE
public static final int R5_WRITE
- See Also:
- Constant Field Values
R6_WRITE
public static final int R6_WRITE
- See Also:
- Constant Field Values
R7_WRITE
public static final int R7_WRITE
- See Also:
- Constant Field Values
A_SEL
public static final int A_SEL
- See Also:
- Constant Field Values
B_SEL
public static final int B_SEL
- See Also:
- Constant Field Values
RI_SEL
public static final int RI_SEL
- See Also:
- Constant Field Values
RJ_SEL
public static final int RJ_SEL
- See Also:
- Constant Field Values
RK_SEL
public static final int RK_SEL
- See Also:
- Constant Field Values
C_IN
public static final int C_IN
- See Also:
- Constant Field Values
ALU_SEL
public static final int ALU_SEL
- See Also:
- Constant Field Values
MDR_SEL
public static final int MDR_SEL
- See Also:
- Constant Field Values
MAR_SEL
public static final int MAR_SEL
- See Also:
- Constant Field Values
RESULT_SEL
public static final int RESULT_SEL
- See Also:
- Constant Field Values
IR0_SEL
public static final int IR0_SEL
- See Also:
- Constant Field Values
IR1_SEL
public static final int IR1_SEL
- See Also:
- Constant Field Values
READ
public static final int READ
- See Also:
- Constant Field Values
WRITE
public static final int WRITE
- See Also:
- Constant Field Values
INDEX_SEL
public static final int INDEX_SEL
- See Also:
- Constant Field Values
COND
public static final int COND
- See Also:
- Constant Field Values
ADDRESS_TRUE
public static final int ADDRESS_TRUE
- See Also:
- Constant Field Values
ADDRESS_FALSE
public static final int ADDRESS_FALSE
- See Also:
- Constant Field Values
ADDRESS
public static final int ADDRESS
- See Also:
- Constant Field Values
R0_WRITE_SET
public static final int R0_WRITE_SET
- See Also:
- Constant Field Values
R1_WRITE_SET
public static final int R1_WRITE_SET
- See Also:
- Constant Field Values
R2_WRITE_SET
public static final int R2_WRITE_SET
- See Also:
- Constant Field Values
R3_WRITE_SET
public static final int R3_WRITE_SET
- See Also:
- Constant Field Values
R4_WRITE_SET
public static final int R4_WRITE_SET
- See Also:
- Constant Field Values
R5_WRITE_SET
public static final int R5_WRITE_SET
- See Also:
- Constant Field Values
R6_WRITE_SET
public static final int R6_WRITE_SET
- See Also:
- Constant Field Values
R7_WRITE_SET
public static final int R7_WRITE_SET
- See Also:
- Constant Field Values
A_SEL_SET
public static final int A_SEL_SET
- See Also:
- Constant Field Values
B_SEL_SET
public static final int B_SEL_SET
- See Also:
- Constant Field Values
RI_SEL_SET
public static final int RI_SEL_SET
- See Also:
- Constant Field Values
RJ_SEL_SET
public static final int RJ_SEL_SET
- See Also:
- Constant Field Values
RK_SEL_SET
public static final int RK_SEL_SET
- See Also:
- Constant Field Values
C_IN_SET
public static final int C_IN_SET
- See Also:
- Constant Field Values
ALU_SEL_SET
public static final int ALU_SEL_SET
- See Also:
- Constant Field Values
MDR_SEL_SET
public static final int MDR_SEL_SET
- See Also:
- Constant Field Values
MAR_SEL_SET
public static final int MAR_SEL_SET
- See Also:
- Constant Field Values
RESULT_SEL_SET
public static final int RESULT_SEL_SET
- See Also:
- Constant Field Values
IR0_SEL_SET
public static final int IR0_SEL_SET
- See Also:
- Constant Field Values
IR1_SEL_SET
public static final int IR1_SEL_SET
- See Also:
- Constant Field Values
READ_SET
public static final int READ_SET
- See Also:
- Constant Field Values
WRITE_SET
public static final int WRITE_SET
- See Also:
- Constant Field Values
INDEX_SEL_SET
public static final int INDEX_SEL_SET
- See Also:
- Constant Field Values
COND_SET
public static final int COND_SET
- See Also:
- Constant Field Values
ADDRESS_TRUE_SET
public static final int ADDRESS_TRUE_SET
- See Also:
- Constant Field Values
ADDRESS_FALSE_SET
public static final int ADDRESS_FALSE_SET
- See Also:
- Constant Field Values
ADDRESS_SET
public static final int ADDRESS_SET
- See Also:
- Constant Field Values
CONTROL_WORD_LENGTH
public static final int CONTROL_WORD_LENGTH
- See Also:
- Constant Field Values
alu_value
public static final String[] alu_value
mar_value
public static final String[] mar_value
mdr_value
public static final String[] mdr_value
result_value
public static final String[] result_value
ir_value
public static final String[] ir_value
cond_value
public static final String[] cond_value
control_line_value
public static final String[] control_line_value
ControlWord
public ControlWord()
- creates an empty control word
get
public int get(int index)
isSet
public boolean isSet(int index)
set
public void set(int index)
throws MythParserError
MythParserError
print
public void print(int index)
toArray
public int[] toArray()
line
public String line()
setAddress
public void setAddress(int a)
setLabel
public void setLabel(String s)
setTrueLabel
public void setTrueLabel(String s)
setFalseLabel
public void setFalseLabel(String s)
setLineNumber
public void setLineNumber(int i)
getLineNumber
public int getLineNumber()
getTrueLabel
public String getTrueLabel()
getFalseLabel
public String getFalseLabel()
address
public String address()
print
public void print(String a)
printAddress
public void printAddress()
label
public String label()
set
public void set(int index,
int value)
printHead
public static void printHead()
print
public void print()
print_addr
public void print_addr()
resolve_addr
public boolean resolve_addr(String[] a)
validTrueLabel
public boolean validTrueLabel()
validFalseLabel
public boolean validFalseLabel()
Copyright © 2002-2004 Jason Vroustouris. All Rights Reserved.