microOpGen
Class JmpRelativo

java.lang.Object
  extended bymicroOpGen.Istruzione
      extended bymicroOpGen.Jump
          extended bymicroOpGen.JmpRelativo

public class JmpRelativo
extends Jump

Classe per la gestione dell'istruzione di Jump Relativo: jmp label(pc)


Field Summary
 
Fields inherited from class microOpGen.Istruzione
BYTE
 
Constructor Summary
protected JmpRelativo(java.lang.Object oper, java.lang.Object dst, java.lang.Object spiazz)
           
 
Method Summary
protected  java.lang.String[] assegnaByte()
          Assegna i bit all'istruzione
protected  java.util.LinkedList genera()
          Assegna le micro-operazioni all'istruzione
protected  java.lang.Object getSpiazzamento()
          funzione che restituisce lo spiazzamento
 
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
 

Constructor Detail

JmpRelativo

protected JmpRelativo(java.lang.Object oper,
                      java.lang.Object dst,
                      java.lang.Object spiazz)
Method Detail

getSpiazzamento

protected java.lang.Object getSpiazzamento()
funzione che restituisce lo spiazzamento


assegnaByte

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

Specified by:
assegnaByte in class Istruzione

genera

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

Specified by:
genera in class Istruzione