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

CInstructionLoad Class Reference

#include <instructions.h> +

+

+Inheritance diagram for CInstructionLoad:
+
+ +

+ +CInstruction + +
+ +

+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 *cpu)
 executes the instruction

Protected Attributes

unsigned m_regidx1
unsigned m_regidx2
+


Detailed Description

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

Member Function Documentation

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

+register number +

+

+ +

+
+ + + + +
unsigned CInstructionLoad::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