OpenASIP
2.0
|
#include <UntilCommand.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 "until" command of the Simulator Control Language.
Definition at line 47 of file UntilCommand.hh.
UntilCommand::UntilCommand | ( | ) |
Constructor.
Sets the name of the command to the base class.
Definition at line 53 of file UntilCommand.cc.
|
virtual |
|
virtual |
Executes the "until" command.
Run until the program location specified by arg is reached and stop before executing the instruction at specified address. Any valid argument that applies to command break is also a valid argument for until.
arguments | The count of steps (default is one step). |
NumberFormatException | Is never thrown by this command. |
Implements CustomCommand.
Definition at line 76 of file UntilCommand.cc.
References CustomCommand::checkArgumentCount(), SimControlLanguageCommand::checkSimulationInitialized(), SimControlLanguageCommand::checkSimulationStopped(), SimControlLanguageCommand::parseInstructionAddressExpression(), SimControlLanguageCommand::printNextInstruction(), SimControlLanguageCommand::printSimulationTime(), SimulatorFrontend::runUntil(), 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 UntilCommand.cc.
References Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), and Texts::TXT_INTERP_HELP_UNTIL.