OpenASIP
2.0
|
#include <SymbolAddressCommand.hh>
Additional Inherited Members | |
Protected Member Functions inherited from SimControlLanguageCommand | |
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 "symbol_address" command of the Simulator Control Language.
Definition at line 48 of file SymbolAddressCommand.hh.
SymbolAddressCommand::SymbolAddressCommand | ( | ) |
Constructor.
Sets the name of the command to the base class.
Definition at line 53 of file SymbolAddressCommand.cc.
|
virtual |
|
virtual |
Executes the "symbol_address" command.
Prints the address of a data symbol.
arguments | The symbol to print. |
NumberFormatException | Is never thrown by this command. |
Implements CustomCommand.
Definition at line 75 of file SymbolAddressCommand.cc.
References TTAProgram::Label::address(), CustomCommand::checkArgumentCount(), SimControlLanguageCommand::checkProgramLoaded(), TTAProgram::Scope::dataLabel(), TTAProgram::Program::globalScopeConst(), CustomCommand::interpreter(), TTAProgram::Address::location(), SimulatorFrontend::program(), ScriptInterpreter::setError(), ScriptInterpreter::setResult(), and SimControlLanguageCommand::simulatorFrontend().
|
virtual |
Returns the help text for this command.
Help text is searched from SimulatorTextGenerator.
Implements CustomCommand.
Definition at line 111 of file SymbolAddressCommand.cc.