From dcd1c9a6e1fbb7462db67a15b9e0dfd22d4f6a4f Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 30 May 2009 16:32:43 +0200 Subject: adding doxygen --- ue4/doxygen/classCInstructionLoad.html | 221 +++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 ue4/doxygen/classCInstructionLoad.html (limited to 'ue4/doxygen/classCInstructionLoad.html') diff --git a/ue4/doxygen/classCInstructionLoad.html b/ue4/doxygen/classCInstructionLoad.html new file mode 100644 index 0000000..97063df --- /dev/null +++ b/ue4/doxygen/classCInstructionLoad.html @@ -0,0 +1,221 @@ + + +mycpu: CInstructionLoad< T > Class Template Reference + + + + +
+ +
+
+ +
+

CInstructionLoad< T > Class Template Reference

#include <instructions.h> +

+

+Inheritance diagram for CInstructionLoad< T >:
+
+ +

+ +CInstruction< T > + +
+ +

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

Public Member Functions

CInstructionLoadfactory ()
 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< T > *cpu)
 executes the instruction

Protected Attributes

unsigned m_regidx1
unsigned m_regidx2
+


Detailed Description

+

template<class T>
+ class CInstructionLoad< T >

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

Member Function Documentation

+ +
+
+
+template<class T>
+ + + + + + + + +
CInstructionLoad* CInstructionLoad< T >::factory (  )  [inline, virtual]
+
+
+ +

+creates a new instance of this instruction +

+

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

Implements CInstruction< T >.

+ +
+

+ +

+
+
+template<class T>
+ + + + + + + + + +
void CInstructionLoad< T >::compile (std::list< std::string > &  params  )  [inline, 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:
+ + +
CInstructionError 
+
+
Precondition:
none
+
Postcondition:
none
+ +

Implements CInstruction< T >.

+ +
+

+ +

+
+
+template<class T>
+ + + + + + + + + +
void CInstructionLoad< T >::execute (CCPU< T > *  cpu  )  [inline, virtual]
+
+
+ +

+executes the instruction +

+

Methodname:
execute
+
Parameters:
+ + +
cpu pointer to cpu
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
CInstructionError 
+
+
Precondition:
cpu valid (memory, program, registers valid)
+
Postcondition:
none
+ +

Implements CInstruction< T >.

+ +
+

+


Member Data Documentation

+ +
+
+
+template<class T>
+ + + + +
unsigned CInstructionLoad< T >::m_regidx1 [protected]
+
+
+ +

+register number +

+

+ +

+
+
+template<class T>
+ + + + +
unsigned CInstructionLoad< T >::m_regidx2 [protected]
+
+
+ +

+register number +

+

+


The documentation for this class was generated from the following file: +
Generated on Sat May 30 16:32:35 2009 for mycpu by  + +doxygen 1.5.3
+ + -- cgit v1.2.3