OpenASIP
2.0
|
#include <MemDumpCommand.hh>
Additional Inherited Members | |
![]() | |
bool | setMemoryAddress (const std::string &addressString, std::string &addressSpaceName, std::size_t &memoryAddress) |
bool | setMemoryPointer (MemorySystem::MemoryPtr &memory, const std::string &addressSpaceName) |
Implementation of the "x" command of the Simulator Control Language.
Definition at line 47 of file MemDumpCommand.hh.
MemDumpCommand::MemDumpCommand | ( | ) |
Constructor.
Sets the name of the command to the base class.
Definition at line 52 of file MemDumpCommand.cc.
|
virtual |
|
virtual |
Executes the "x" command.
This low-level command prints the data in memory starting at specified addresses addr.
arguments | The address to print. |
NumberFormatException | Is never thrown by this command. |
Implements CustomCommand.
Definition at line 75 of file MemDumpCommand.cc.
References MemorySystem::addressSpace(), CustomCommand::checkArgumentCount(), SimControlLanguageCommand::checkProgramLoaded(), CustomCommand::checkUnsignedIntegerArgument(), StringTools::ciEqual(), CustomCommand::interpreter(), SimulatorFrontend::memorySystem(), ScriptInterpreter::setError(), SimControlLanguageCommand::setMemoryAddress(), SimControlLanguageCommand::setMemoryPointer(), ScriptInterpreter::setResult(), DataObject::setString(), SIMULATOR_MAX_INTWORD_BITWIDTH, SimControlLanguageCommand::simulatorFrontend(), DataObject::stringValue(), SimulatorToolbox::textGenerator(), Conversion::toHexString(), Texts::TXT_ADDRESS_OUT_OF_RANGE, Texts::TXT_ILLEGAL_ARGUMENTS, and TTAMachine::AddressSpace::width().
|
virtual |
Returns the help text for this command.
Help text is searched from SimulatorTextGenerator.
Implements CustomCommand.
Definition at line 247 of file MemDumpCommand.cc.
References Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), and Texts::TXT_INTERP_HELP_X.