|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.croesch.micro_debug.mic1.controlstore.JMPSignalSet
public final class JMPSignalSet
Represents a set of signals: JMPN, JMPZ and JMPC.
The signals determine the behavior of calculation of next address in micro-program to execute.
| Method Summary | |
|---|---|
void |
copyOf(com.github.croesch.micro_debug.mic1.controlstore.SignalSet set)
Copies all signals from the given set to this set. |
boolean |
equals(Object obj)
|
int |
getSize()
Returns the number of signals this set contains. |
int |
hashCode()
|
boolean |
isAnythingSet()
Returns whether any of the signals is set. |
boolean |
isJmpC()
Returns whether the signal JMPC is set. |
boolean |
isJmpN()
Returns whether the signal JMPN is set. |
boolean |
isJmpZ()
Returns whether the signal JMPZ is set. |
JMPSignalSet |
setJmpC(boolean value)
Sets a new value for the signal JMPC. |
JMPSignalSet |
setJmpN(boolean value)
Sets a new value for the signal JMPN. |
JMPSignalSet |
setJmpZ(boolean value)
Sets a new value for the signal JMPZ. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public JMPSignalSet setJmpC(boolean value)
JMPC.
value - the new value for the signal JMPC.
public boolean isJmpC()
JMPC is set.
true, if the signal JMPC is set.public JMPSignalSet setJmpN(boolean value)
JMPN.
value - the new value for the signal JMPN.
public boolean isJmpN()
JMPN is set.
true, if the signal JMPN is set.public JMPSignalSet setJmpZ(boolean value)
JMPZ.
value - the new value for the signal JMPZ.
public boolean isJmpZ()
JMPZ is set.
true, if the signal JMPZ is set.public final int getSize()
SignalSet#Mic1SignalSet(int)public final boolean isAnythingSet()
true, if at least one of the signals is set,false otherwise.public void copyOf(com.github.croesch.micro_debug.mic1.controlstore.SignalSet set)
null or the number of signals
are different to the signals in this object, nothing is done.
set - the set to fetch the signals frompublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||