#include <instructions.h>

Public Member Functions | |
| CInstructionWrite * | 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 | |
| unsigned | m_regidx1 |
| std::string | m_dev |
| CInstructionWrite* CInstructionWrite::factory | ( | ) | [inline, virtual] |
creates a new instance of this instruction
| - |
| none |
Implements CInstruction.
| void CInstructionWrite::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 CInstructionWrite::execute | ( | CCPU * | cpu | ) | [virtual] |
executes the instruction
| cpu | pointer to cpu |
| std::runtime_error |
Implements CInstruction.
unsigned CInstructionWrite::m_regidx1 [protected] |
register number
std::string CInstructionWrite::m_dev [protected] |
device name
1.5.3