33#ifndef TTA_LIMM_DST_REGISTER_FIELD_HH
34#define TTA_LIMM_DST_REGISTER_FIELD_HH
65 virtual int width()
const;
82 typedef std::map<std::string, std::string>
StringMap;
BinaryEncoding * parent() const
std::string instructionTemplate(int index) const
void loadState(const ObjectState *state)
bool usedByInstructionTemplate(const std::string &instructionTemplate) const
StringMap destinationMap_
Maps instruction templates to immediate units.
int width_
Width of the field.
virtual int width() const
static const std::string OSKEY_ITEMP
ObjectState attribute key for the name of the instruction template.
static const std::string OSKEY_DST_IU
ObjectState attribute key for the name of the immediate unit.
static const std::string OSNAME_LIMM_DST_REGISTER_FIELD
ObjectState name for long immediate destination register field.
virtual ObjectState * saveState() const
std::map< std::string, std::string > StringMap
Map type for strings.
virtual int childFieldCount() const
static const std::string OSKEY_WIDTH
ObjectState attribute key for the width of the field.
virtual ~LImmDstRegisterField()
int instructionTemplateCount() const
static const std::string OSNAME_IU_DESTINATION
ObjectState name for a immediate unit destination.
void addDestination(const std::string &instructionTemplate, const std::string &immediateUnit)
std::string immediateUnit(const std::string &instructionTemplate) const