#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< T > *cpu) |
executes the instruction | |
Protected Attributes | |
std::string | m_addr |
CInstructionJumpS* CInstructionJumpS< T >::factory | ( | ) | [inline, virtual] |
creates a new instance of this instruction
- |
none |
Implements CInstruction< T >.
void CInstructionJumpS< T >::compile | ( | std::list< std::string > & | params | ) | [inline, virtual] |
parses instruction parameters and prepares the instruction for executing
params | list of parameters of this instruction |
CInstructionError |
Implements CInstruction< T >.
void CInstructionJumpS< T >::execute | ( | CCPU< T > * | cpu | ) | [inline, virtual] |
executes the instruction
cpu | pointer to cpu |
CInstructionError |
Implements CInstruction< T >.
std::string CInstructionJumpS< T >::m_addr [protected] |
labelname