microOpGen
Class SpiazzSrc

java.lang.Object
  extended bymicroOpGen.Istruzione
      extended bymicroOpGen.ADD
          extended bymicroOpGen.SpiazzSrc

public class SpiazzSrc
extends ADD

Questa classe gestisce le istruzioni ADD con lo spiazzamento sul registro sorgente


Field Summary
protected  java.lang.Object spiazzSrc
           
 
Fields inherited from class microOpGen.Istruzione
BYTE
 
Constructor Summary
protected SpiazzSrc(java.lang.Object oper, java.lang.Object dst, java.lang.Object src, java.lang.Object spiaz)
           
 
Method Summary
protected  java.lang.String[] assegnaByte()
          Assegna i bit all'istruzione
 java.util.LinkedList genera()
          Assegna le micro-operazioni all'istruzione
protected  java.lang.Object getSpiazzamento()
           
 
Methods inherited from class microOpGen.Istruzione
getByte, getDst, getOper, getSrc, riconosciDst, riconosciSrc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spiazzSrc

protected java.lang.Object spiazzSrc
Constructor Detail

SpiazzSrc

protected SpiazzSrc(java.lang.Object oper,
                    java.lang.Object dst,
                    java.lang.Object src,
                    java.lang.Object spiaz)
Method Detail

getSpiazzamento

protected java.lang.Object getSpiazzamento()

assegnaByte

protected java.lang.String[] assegnaByte()
                                  throws ParseException
Assegna i bit all'istruzione

Specified by:
assegnaByte in class Istruzione
Throws:
ParseException

genera

public java.util.LinkedList genera()
Assegna le micro-operazioni all'istruzione

Specified by:
genera in class Istruzione