Class EffectiveAddr

java.lang.Object
  extended by EffectiveAddr

public final class EffectiveAddr
extends java.lang.Object

EffectiveAddr stores an effective address as per the Motorola 68000. Some instructions use a source effective address and a destination effective address. So, some instructions need two objects of this type at once.


Constructor Summary
EffectiveAddr(EAenum effaddr, Reg32 addr, Reg3 reg, Reg8 immediate8, Reg16 immediate16, Reg32 immediate32)
           
 
Method Summary
 Reg32 getaddress()
           
 EAenum geteffaddrenumobj()
           
 Reg16 getimmed16()
           
 Reg32 getimmed32()
           
 Reg8 getimmed8()
           
 Reg3 getregister()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EffectiveAddr

public EffectiveAddr(EAenum effaddr,
                     Reg32 addr,
                     Reg3 reg,
                     Reg8 immediate8,
                     Reg16 immediate16,
                     Reg32 immediate32)
Method Detail

geteffaddrenumobj

public EAenum geteffaddrenumobj()

getaddress

public Reg32 getaddress()
                 throws FeralcoreException
Throws:
FeralcoreException

getregister

public Reg3 getregister()
                 throws FeralcoreException
Throws:
FeralcoreException

getimmed8

public Reg8 getimmed8()
               throws FeralcoreException
Throws:
FeralcoreException

getimmed16

public Reg16 getimmed16()
                 throws FeralcoreException
Throws:
FeralcoreException

getimmed32

public Reg32 getimmed32()
                 throws FeralcoreException
Throws:
FeralcoreException