Go to the documentation of this file.
49 startAddress_(startAddress) {
57 for (InstructionContainer::const_iterator i =
instructions_.begin();
106 for (InstructionContainer::iterator i =
instructions_.begin();
108 (*i)->resetExecutionCounts();
UInt32 InstructionAddress
bool hasInstructionAt(InstructionAddress addr) const
void addImplicitExecutableInstruction(InstructionAddress addr, ExecutableInstruction *instruction)
InstructionContainer emptyInstructions_
const InstructionContainer & implicitInstructionsAt(InstructionAddress addr) const
void resetExecutionCounts()
std::vector< ExecutableInstruction * > InstructionContainer
Container for instructions.
std::map< InstructionAddress, ExecutableInstruction * > instructionMap_
Stores the explicit instruction addresses.
bool hasImplicitInstructionsAt(InstructionAddress addr) const
InstructionContainer instructions_
All the instructions of the memory.
virtual ~InstructionMemory()
InstructionMemory(InstructionAddress startAddress)
void addExecutableInstruction(InstructionAddress addr, ExecutableInstruction *instruction)
std::map< InstructionAddress, InstructionContainer * > implicitInstructions_
Stores implicit instructions that should be executed after the explicit one in the same address.