OpenASIP
2.0
|
#include <NextiCommand.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 "nexti" command of the Simulator Control Language.
Definition at line 47 of file NextiCommand.hh.
NextiCommand::NextiCommand | ( | ) |
Constructor.
Sets the name of the command to the base class.
Definition at line 55 of file NextiCommand.cc.
|
virtual |
|
virtual |
Executes the "nexti" command.
Advances simulation to the next machine instructions in current procedure. If the instruction contains a function call, simulation proceeds until control returns from it, to the instruction past the function call. The count argument gives the number of machine instruction to simulate.
arguments | The count of steps (default is one step). |
NumberFormatException | Is never thrown by this command. |
Implements CustomCommand.
Definition at line 81 of file NextiCommand.cc.
References CustomCommand::checkArgumentCount(), CustomCommand::checkPositiveIntegerArgument(), SimControlLanguageCommand::checkSimulationInitialized(), SimControlLanguageCommand::checkSimulationStopped(), SimulatorFrontend::next(), SimControlLanguageCommand::printNextInstruction(), and SimControlLanguageCommand::simulatorFrontend().
|
virtual |
Returns the help text for this command.
Help text is searched from SimulatorTextGenerator.
Implements CustomCommand.
Definition at line 115 of file NextiCommand.cc.
References Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), and Texts::TXT_INTERP_HELP_NEXTI.