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