#include <instructions.h>
Public Member Functions | |
CInstructionJumpS * | factory () |
creates a new instance of this instruction | |
void | compile (std::list< std::string > ¶ms) |
parses instruction parameters and prepares the instruction for executing | |
void | execute (CCPU *cpu) |
executes the instruction | |
Protected Attributes | |
std::string | m_addr |
CInstructionJumpS* CInstructionJumpS::factory | ( | ) | [inline, virtual] |
creates a new instance of this instruction
- |
none |
Implements CInstruction.
void CInstructionJumpS::compile | ( | std::list< std::string > & | params | ) | [virtual] |
parses instruction parameters and prepares the instruction for executing
params | list of parameters of this instruction |
std::runtime_error |
Implements CInstruction.
void CInstructionJumpS::execute | ( | CCPU * | cpu | ) | [virtual] |
executes the instruction
cpu | pointer to cpu |
std::runtime_error |
Implements CInstruction.
std::string CInstructionJumpS::m_addr [protected] |
labelname