summaryrefslogtreecommitdiffstats
path: root/ue3/doxygen/classCInstructionLoad.html
diff options
context:
space:
mode:
Diffstat (limited to 'ue3/doxygen/classCInstructionLoad.html')
-rw-r--r--ue3/doxygen/classCInstructionLoad.html206
1 files changed, 206 insertions, 0 deletions
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 @@
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mycpu: CInstructionLoad Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.3 -->
8<div class="tabs">
9 <ul>
10 <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
12 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
13 <li><a href="files.html"><span>Files</span></a></li>
14 </ul>
15</div>
16<div class="tabs">
17 <ul>
18 <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19 <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20 <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21 </ul>
22</div>
23<h1>CInstructionLoad Class Reference</h1><!-- doxytag: class="CInstructionLoad" --><!-- doxytag: inherits="CInstruction" --><code>#include &lt;<a class="el" href="instructions_8h-source.html">instructions.h</a>&gt;</code>
24<p>
25<div class="dynheader">
26Inheritance diagram for CInstructionLoad:</div>
27<div class="dynsection">
28
29<p><center><img src="classCInstructionLoad.png" usemap="#CInstructionLoad_map" border="0" alt=""></center>
30<map name="CInstructionLoad_map">
31<area href="classCInstruction.html" alt="CInstruction" shape="rect" coords="0,0,107,24">
32</map>
33</div>
34
35<p>
36<a href="classCInstructionLoad-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
37<tr><td></td></tr>
38<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
39<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCInstructionLoad.html">CInstructionLoad</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionLoad.html#35c051515ccd6a12dbb39ab4b2e33ded">factory</a> ()</td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">creates a new instance of this instruction <a href="#35c051515ccd6a12dbb39ab4b2e33ded"></a><br></td></tr>
42<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionLoad.html#4aa70fe481286e0bcc27f7a9ce896d3d">compile</a> (std::list&lt; std::string &gt; &amp;params)</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">parses instruction parameters and prepares the instruction for executing <a href="#4aa70fe481286e0bcc27f7a9ce896d3d"></a><br></td></tr>
45<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionLoad.html#fdda1d554401f9bfd32a6300f5ad2bb6">execute</a> (<a class="el" href="classCCPU.html">CCPU</a> *cpu)</td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">executes the instruction <a href="#fdda1d554401f9bfd32a6300f5ad2bb6"></a><br></td></tr>
48<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
49<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionLoad.html#91139a066176d4be83258eba0b412cb6">m_regidx1</a></td></tr>
50
51<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionLoad.html#dbb1c5a56e063ce77d3b8d26355e2a49">m_regidx2</a></td></tr>
52
53</table>
54<hr><a name="_details"></a><h2>Detailed Description</h2>
55Implementation of assembler command "load" Syntax: load R1, R2 (R1 = memory[R2]) <hr><h2>Member Function Documentation</h2>
56<a class="anchor" name="35c051515ccd6a12dbb39ab4b2e33ded"></a><!-- doxytag: member="CInstructionLoad::factory" ref="35c051515ccd6a12dbb39ab4b2e33ded" args="()" -->
57<div class="memitem">
58<div class="memproto">
59 <table class="memname">
60 <tr>
61 <td class="memname"><a class="el" href="classCInstructionLoad.html">CInstructionLoad</a>* CInstructionLoad::factory </td>
62 <td>(</td>
63 <td class="paramname"> </td>
64 <td>&nbsp;)&nbsp;</td>
65 <td width="100%"><code> [inline, virtual]</code></td>
66 </tr>
67 </table>
68</div>
69<div class="memdoc">
70
71<p>
72creates a new instance of this instruction
73<p>
74<dl class="user" compact><dt><b>Methodname:</b></dt><dd>factory </dd></dl>
75<dl compact><dt><b>Parameters:</b></dt><dd>
76 <table border="0" cellspacing="2" cellpadding="0">
77 <tr><td valign="top"></td><td valign="top"><em>-</em>&nbsp;</td><td></td></tr>
78 </table>
79</dl>
80<dl class="return" compact><dt><b>Returns:</b></dt><dd>new instruction instance </dd></dl>
81<dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl>
82<dl compact><dt><b>Exceptions:</b></dt><dd>
83 <table border="0" cellspacing="2" cellpadding="0">
84 <tr><td valign="top"></td><td valign="top"><em>none</em>&nbsp;</td><td></td></tr>
85 </table>
86</dl>
87<dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl>
88
89<p>Implements <a class="el" href="classCInstruction.html#fae8dc231b375db91f874df0d085b7dc">CInstruction</a>.</p>
90
91</div>
92</div><p>
93<a class="anchor" name="4aa70fe481286e0bcc27f7a9ce896d3d"></a><!-- doxytag: member="CInstructionLoad::compile" ref="4aa70fe481286e0bcc27f7a9ce896d3d" args="(std::list&lt; std::string &gt; &amp;params)" -->
94<div class="memitem">
95<div class="memproto">
96 <table class="memname">
97 <tr>
98 <td class="memname">void CInstructionLoad::compile </td>
99 <td>(</td>
100 <td class="paramtype">std::list&lt; std::string &gt; &amp;&nbsp;</td>
101 <td class="paramname"> <em>params</em> </td>
102 <td>&nbsp;)&nbsp;</td>
103 <td width="100%"><code> [virtual]</code></td>
104 </tr>
105 </table>
106</div>
107<div class="memdoc">
108
109<p>
110parses instruction parameters and prepares the instruction for executing
111<p>
112<dl class="user" compact><dt><b>Methodname:</b></dt><dd>compile </dd></dl>
113<dl compact><dt><b>Parameters:</b></dt><dd>
114 <table border="0" cellspacing="2" cellpadding="0">
115 <tr><td valign="top"></td><td valign="top"><em>params</em>&nbsp;</td><td>list of parameters of this instruction </td></tr>
116 </table>
117</dl>
118<dl class="return" compact><dt><b>Returns:</b></dt><dd>- </dd></dl>
119<dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl>
120<dl compact><dt><b>Exceptions:</b></dt><dd>
121 <table border="0" cellspacing="2" cellpadding="0">
122 <tr><td valign="top"></td><td valign="top"><em>std::runtime_error</em>&nbsp;</td><td></td></tr>
123 </table>
124</dl>
125<dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl>
126
127<p>Implements <a class="el" href="classCInstruction.html#15e2ce88b04fcf208ba43c43f7dd57aa">CInstruction</a>.</p>
128
129</div>
130</div><p>
131<a class="anchor" name="fdda1d554401f9bfd32a6300f5ad2bb6"></a><!-- doxytag: member="CInstructionLoad::execute" ref="fdda1d554401f9bfd32a6300f5ad2bb6" args="(CCPU *cpu)" -->
132<div class="memitem">
133<div class="memproto">
134 <table class="memname">
135 <tr>
136 <td class="memname">void CInstructionLoad::execute </td>
137 <td>(</td>
138 <td class="paramtype"><a class="el" href="classCCPU.html">CCPU</a> *&nbsp;</td>
139 <td class="paramname"> <em>cpu</em> </td>
140 <td>&nbsp;)&nbsp;</td>
141 <td width="100%"><code> [virtual]</code></td>
142 </tr>
143 </table>
144</div>
145<div class="memdoc">
146
147<p>
148executes the instruction
149<p>
150<dl class="user" compact><dt><b>Methodname:</b></dt><dd>execute </dd></dl>
151<dl compact><dt><b>Parameters:</b></dt><dd>
152 <table border="0" cellspacing="2" cellpadding="0">
153 <tr><td valign="top"></td><td valign="top"><em>cpu</em>&nbsp;</td><td>pointer to cpu </td></tr>
154 </table>
155</dl>
156<dl class="return" compact><dt><b>Returns:</b></dt><dd>- </dd></dl>
157<dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl>
158<dl compact><dt><b>Exceptions:</b></dt><dd>
159 <table border="0" cellspacing="2" cellpadding="0">
160 <tr><td valign="top"></td><td valign="top"><em>std::runtime_error</em>&nbsp;</td><td></td></tr>
161 </table>
162</dl>
163<dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl>
164
165<p>Implements <a class="el" href="classCInstruction.html#127fd09a772e9f584550cd342af770d1">CInstruction</a>.</p>
166
167</div>
168</div><p>
169<hr><h2>Member Data Documentation</h2>
170<a class="anchor" name="91139a066176d4be83258eba0b412cb6"></a><!-- doxytag: member="CInstructionLoad::m_regidx1" ref="91139a066176d4be83258eba0b412cb6" args="" -->
171<div class="memitem">
172<div class="memproto">
173 <table class="memname">
174 <tr>
175 <td class="memname">unsigned <a class="el" href="classCInstructionLoad.html#91139a066176d4be83258eba0b412cb6">CInstructionLoad::m_regidx1</a><code> [protected]</code> </td>
176 </tr>
177 </table>
178</div>
179<div class="memdoc">
180
181<p>
182register number
183</div>
184</div><p>
185<a class="anchor" name="dbb1c5a56e063ce77d3b8d26355e2a49"></a><!-- doxytag: member="CInstructionLoad::m_regidx2" ref="dbb1c5a56e063ce77d3b8d26355e2a49" args="" -->
186<div class="memitem">
187<div class="memproto">
188 <table class="memname">
189 <tr>
190 <td class="memname">unsigned <a class="el" href="classCInstructionLoad.html#dbb1c5a56e063ce77d3b8d26355e2a49">CInstructionLoad::m_regidx2</a><code> [protected]</code> </td>
191 </tr>
192 </table>
193</div>
194<div class="memdoc">
195
196<p>
197register number
198</div>
199</div><p>
200<hr>The documentation for this class was generated from the following files:<ul>
201<li>mycpu/<a class="el" href="instructions_8h-source.html">instructions.h</a><li>mycpu/instructions.cpp</ul>
202<hr size="1"><address style="text-align: right;"><small>Generated on Thu May 14 18:19:17 2009 for mycpu by&nbsp;
203<a href="http://www.doxygen.org/index.html">
204<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
205</body>
206</html>