microOpGen
Class Istruzione
java.lang.Object
microOpGen.Istruzione
- Direct Known Subclasses:
- ADD, Device, Interruzione, Jump, Jx, MOV, MOVL, Stack
- public abstract class Istruzione
- extends java.lang.Object
Classe astratta genitore di tutte istruzioni
Field Summary |
protected static java.lang.String[] |
BYTE
|
Constructor Summary |
protected |
Istruzione(java.lang.Object oper,
java.lang.Object dst,
java.lang.Object src)
|
Method Summary |
protected abstract java.lang.String[] |
assegnaByte()
|
protected abstract java.util.LinkedList |
genera()
|
java.lang.String[] |
getByte()
|
protected java.lang.Object |
getDst()
|
protected java.lang.Object |
getOper()
|
protected java.lang.Object |
getSrc()
|
protected java.lang.String |
riconosciDst()
Riconosce il registro destinazione restituendone la configurazione in bit |
protected java.lang.String |
riconosciSrc()
Riconosce il registro sorgente restituendone la configurazione in bit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYTE
protected static java.lang.String[] BYTE
Istruzione
protected Istruzione(java.lang.Object oper,
java.lang.Object dst,
java.lang.Object src)
getOper
protected java.lang.Object getOper()
getSrc
protected java.lang.Object getSrc()
getDst
protected java.lang.Object getDst()
getByte
public java.lang.String[] getByte()
riconosciSrc
protected java.lang.String riconosciSrc()
throws ParseException
- Riconosce il registro sorgente restituendone la configurazione in bit
- Throws:
ParseException
riconosciDst
protected java.lang.String riconosciDst()
throws ParseException
- Riconosce il registro destinazione restituendone la configurazione in bit
- Throws:
ParseException
assegnaByte
protected abstract java.lang.String[] assegnaByte()
throws ParseException
- Throws:
ParseException
genera
protected abstract java.util.LinkedList genera()