Go to the documentation of this file.
130 const std::string& instructionTemplate,
const std::string& immediateUnit) {
168 for (
int i = 0; i < index; i++) {
182 const std::string& instructionTemplate)
const {
198 const std::string& instructionTemplate)
const {
200 return MapTools::valueForKey<string>(
269 for (
int i = 0; i < state->
childCount(); i++) {
void loadState(const ObjectState *state)
StringMap destinationMap_
Maps instruction templates to immediate units.
std::string stringAttribute(const std::string &name) const
int instructionTemplateCount() const
virtual ObjectState * saveState() const
void setName(const std::string &name)
virtual ObjectState * saveState() const
#define assert(condition)
static const std::string OSKEY_DST_IU
ObjectState attribute key for the name of the immediate unit.
std::string instructionTemplate(int index) const
LImmDstRegisterField(int width, BinaryEncoding &parent)
void addLongImmDstRegisterField(LImmDstRegisterField &field)
int width_
Width of the field.
void setParent(InstructionField *parent)
InstructionField * parent() const
std::string immediateUnit(const std::string &instructionTemplate) const
ObjectState * child(int index) const
void addChild(ObjectState *child)
static const std::string OSKEY_WIDTH
ObjectState attribute key for the width of the field.
virtual int width() const
static const std::string OSNAME_IU_DESTINATION
ObjectState name for a immediate unit destination.
std::string errorMessage() const
static const std::string OSNAME_LIMM_DST_REGISTER_FIELD
ObjectState name for long immediate destination register field.
bool usedByInstructionTemplate(const std::string &instructionTemplate) const
virtual ~LImmDstRegisterField()
virtual int childFieldCount() const
void addDestination(const std::string &instructionTemplate, const std::string &immediateUnit)
virtual void loadState(const ObjectState *state)
static const std::string OSKEY_ITEMP
ObjectState attribute key for the name of the instruction template.
int intAttribute(const std::string &name) const
void removeLongImmDstRegisterField(LImmDstRegisterField &field)
BinaryEncoding * parent() const
void setAttribute(const std::string &name, const std::string &value)