From 3563c6dfd0f5f102cb748ecc6ad318601990515e Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 14 May 2009 18:21:15 +0200 Subject: adding doxygen docs --- ue3/doxygen/classCInstructionAdd.html | 223 ++++++++++++++++++++++++++++++++++ 1 file changed, 223 insertions(+) create mode 100644 ue3/doxygen/classCInstructionAdd.html (limited to 'ue3/doxygen/classCInstructionAdd.html') diff --git a/ue3/doxygen/classCInstructionAdd.html b/ue3/doxygen/classCInstructionAdd.html new file mode 100644 index 0000000..a659978 --- /dev/null +++ b/ue3/doxygen/classCInstructionAdd.html @@ -0,0 +1,223 @@ + + +mycpu: CInstructionAdd Class Reference + + + + +
+ +
+
+ +
+

CInstructionAdd Class Reference

#include <instructions.h> +

+

+Inheritance diagram for CInstructionAdd:
+
+ +

+ +CInstruction + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + +

Public Member Functions

CInstructionAddfactory ()
 creates a new instance of this instruction
void compile (std::list< std::string > &params)
 parses instruction parameters and prepares the instruction for executing
void execute (CCPU *cpu)
 executes the instruction

Protected Attributes

unsigned m_regidx1
unsigned m_regidx2
unsigned m_regidx3
+


Detailed Description

+Implementation of assembler command "add" Syntax: add R1, R2, R3 (R1 = R2 + R3)

Member Function Documentation

+ +
+
+ + + + + + + + +
CInstructionAdd* CInstructionAdd::factory (  )  [inline, virtual]
+
+
+ +

+creates a new instance of this instruction +

+

Methodname:
factory
+
Parameters:
+ + +
- 
+
+
Returns:
new instruction instance
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CInstruction.

+ +
+

+ +

+
+ + + + + + + + + +
void CInstructionAdd::compile (std::list< std::string > &  params  )  [virtual]
+
+
+ +

+parses instruction parameters and prepares the instruction for executing +

+

Methodname:
compile
+
Parameters:
+ + +
params list of parameters of this instruction
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
std::runtime_error 
+
+
Conditions:
none
+ +

Implements CInstruction.

+ +
+

+ +

+
+ + + + + + + + + +
void CInstructionAdd::execute (CCPU cpu  )  [virtual]
+
+
+ +

+executes the instruction +

+

Methodname:
execute
+
Parameters:
+ + +
cpu pointer to cpu
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
std::runtime_error 
+
+
Conditions:
none
+ +

Implements CInstruction.

+ +
+

+


Member Data Documentation

+ +
+
+ + + + +
unsigned CInstructionAdd::m_regidx1 [protected]
+
+
+ +

+register number +

+

+ +

+
+ + + + +
unsigned CInstructionAdd::m_regidx2 [protected]
+
+
+ +

+register number +

+

+ +

+
+ + + + +
unsigned CInstructionAdd::m_regidx3 [protected]
+
+
+ +

+register number +

+

+


The documentation for this class was generated from the following files: +
Generated on Thu May 14 18:19:17 2009 for mycpu by  + +doxygen 1.5.3
+ + -- cgit v1.2.3