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/classCInstructionStore.html | 206 ++++++++++++++++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 ue3/doxygen/classCInstructionStore.html (limited to 'ue3/doxygen/classCInstructionStore.html') diff --git a/ue3/doxygen/classCInstructionStore.html b/ue3/doxygen/classCInstructionStore.html new file mode 100644 index 0000000..f2d0133 --- /dev/null +++ b/ue3/doxygen/classCInstructionStore.html @@ -0,0 +1,206 @@ + + +mycpu: CInstructionStore Class Reference + + + + +
+ +
+
+ +
+

CInstructionStore Class Reference

#include <instructions.h> +

+

+Inheritance diagram for CInstructionStore:
+
+ +

+ +CInstruction + +
+ +

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

Public Member Functions

CInstructionStorefactory ()
 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
+


Detailed Description

+Implementation of assembler command "store" Syntax: store R1, R2 (memory[R2] = R1)

Member Function Documentation

+ +
+
+ + + + + + + + +
CInstructionStore* CInstructionStore::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 CInstructionStore::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 CInstructionStore::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 CInstructionStore::m_regidx1 [protected]
+
+
+ +

+register number +

+

+ +

+
+ + + + +
unsigned CInstructionStore::m_regidx2 [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