diff options
Diffstat (limited to 'ue3/doxygen/classCInstructionAdd.html')
| -rw-r--r-- | ue3/doxygen/classCInstructionAdd.html | 223 |
1 files changed, 223 insertions, 0 deletions
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 @@ | |||
| 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: CInstructionAdd 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 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 List</span></a></li> | ||
| 19 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> | ||
| 20 | <li><a href="functions.html"><span>Class Members</span></a></li> | ||
| 21 | </ul> | ||
| 22 | </div> | ||
| 23 | <h1>CInstructionAdd Class Reference</h1><!-- doxytag: class="CInstructionAdd" --><!-- doxytag: inherits="CInstruction" --><code>#include <<a class="el" href="instructions_8h-source.html">instructions.h</a>></code> | ||
| 24 | <p> | ||
| 25 | <div class="dynheader"> | ||
| 26 | Inheritance diagram for CInstructionAdd:</div> | ||
| 27 | <div class="dynsection"> | ||
| 28 | |||
| 29 | <p><center><img src="classCInstructionAdd.png" usemap="#CInstructionAdd_map" border="0" alt=""></center> | ||
| 30 | <map name="CInstructionAdd_map"> | ||
| 31 | <area href="classCInstruction.html" alt="CInstruction" shape="rect" coords="0,0,102,24"> | ||
| 32 | </map> | ||
| 33 | </div> | ||
| 34 | |||
| 35 | <p> | ||
| 36 | <a href="classCInstructionAdd-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="classCInstructionAdd.html">CInstructionAdd</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionAdd.html#6fa9bae98f84f5ae34946641fb03ff32">factory</a> ()</td></tr> | ||
| 40 | |||
| 41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">creates a new instance of this instruction <a href="#6fa9bae98f84f5ae34946641fb03ff32"></a><br></td></tr> | ||
| 42 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionAdd.html#1da9f4b4016d27f2866add0b91e3b0fc">compile</a> (std::list< std::string > &params)</td></tr> | ||
| 43 | |||
| 44 | <tr><td class="mdescLeft"> </td><td class="mdescRight">parses instruction parameters and prepares the instruction for executing <a href="#1da9f4b4016d27f2866add0b91e3b0fc"></a><br></td></tr> | ||
| 45 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionAdd.html#3c6844fd425de436ba3e7fbc98fd69e8">execute</a> (<a class="el" href="classCCPU.html">CCPU</a> *cpu)</td></tr> | ||
| 46 | |||
| 47 | <tr><td class="mdescLeft"> </td><td class="mdescRight">executes the instruction <a href="#3c6844fd425de436ba3e7fbc98fd69e8"></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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionAdd.html#2808878fbfbee48f1c300bdd976446f4">m_regidx1</a></td></tr> | ||
| 50 | |||
| 51 | <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionAdd.html#98e9005e15d5eb69ce561a91348a3a91">m_regidx2</a></td></tr> | ||
| 52 | |||
| 53 | <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionAdd.html#1c5979587fea23262a9bc593b9dc61a3">m_regidx3</a></td></tr> | ||
| 54 | |||
| 55 | </table> | ||
| 56 | <hr><a name="_details"></a><h2>Detailed Description</h2> | ||
| 57 | Implementation of assembler command "add" Syntax: add R1, R2, R3 (R1 = R2 + R3) <hr><h2>Member Function Documentation</h2> | ||
| 58 | <a class="anchor" name="6fa9bae98f84f5ae34946641fb03ff32"></a><!-- doxytag: member="CInstructionAdd::factory" ref="6fa9bae98f84f5ae34946641fb03ff32" args="()" --> | ||
| 59 | <div class="memitem"> | ||
| 60 | <div class="memproto"> | ||
| 61 | <table class="memname"> | ||
| 62 | <tr> | ||
| 63 | <td class="memname"><a class="el" href="classCInstructionAdd.html">CInstructionAdd</a>* CInstructionAdd::factory </td> | ||
| 64 | <td>(</td> | ||
| 65 | <td class="paramname"> </td> | ||
| 66 | <td> ) </td> | ||
| 67 | <td width="100%"><code> [inline, virtual]</code></td> | ||
| 68 | </tr> | ||
| 69 | </table> | ||
| 70 | </div> | ||
| 71 | <div class="memdoc"> | ||
| 72 | |||
| 73 | <p> | ||
| 74 | creates a new instance of this instruction | ||
| 75 | <p> | ||
| 76 | <dl class="user" compact><dt><b>Methodname:</b></dt><dd>factory </dd></dl> | ||
| 77 | <dl compact><dt><b>Parameters:</b></dt><dd> | ||
| 78 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 79 | <tr><td valign="top"></td><td valign="top"><em>-</em> </td><td></td></tr> | ||
| 80 | </table> | ||
| 81 | </dl> | ||
| 82 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>new instruction instance </dd></dl> | ||
| 83 | <dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl> | ||
| 84 | <dl compact><dt><b>Exceptions:</b></dt><dd> | ||
| 85 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 86 | <tr><td valign="top"></td><td valign="top"><em>none</em> </td><td></td></tr> | ||
| 87 | </table> | ||
| 88 | </dl> | ||
| 89 | <dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl> | ||
| 90 | |||
| 91 | <p>Implements <a class="el" href="classCInstruction.html#fae8dc231b375db91f874df0d085b7dc">CInstruction</a>.</p> | ||
| 92 | |||
| 93 | </div> | ||
| 94 | </div><p> | ||
| 95 | <a class="anchor" name="1da9f4b4016d27f2866add0b91e3b0fc"></a><!-- doxytag: member="CInstructionAdd::compile" ref="1da9f4b4016d27f2866add0b91e3b0fc" args="(std::list< std::string > &params)" --> | ||
| 96 | <div class="memitem"> | ||
| 97 | <div class="memproto"> | ||
| 98 | <table class="memname"> | ||
| 99 | <tr> | ||
| 100 | <td class="memname">void CInstructionAdd::compile </td> | ||
| 101 | <td>(</td> | ||
| 102 | <td class="paramtype">std::list< std::string > & </td> | ||
| 103 | <td class="paramname"> <em>params</em> </td> | ||
| 104 | <td> ) </td> | ||
| 105 | <td width="100%"><code> [virtual]</code></td> | ||
| 106 | </tr> | ||
| 107 | </table> | ||
| 108 | </div> | ||
| 109 | <div class="memdoc"> | ||
| 110 | |||
| 111 | <p> | ||
| 112 | parses instruction parameters and prepares the instruction for executing | ||
| 113 | <p> | ||
| 114 | <dl class="user" compact><dt><b>Methodname:</b></dt><dd>compile </dd></dl> | ||
| 115 | <dl compact><dt><b>Parameters:</b></dt><dd> | ||
| 116 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 117 | <tr><td valign="top"></td><td valign="top"><em>params</em> </td><td>list of parameters of this instruction </td></tr> | ||
| 118 | </table> | ||
| 119 | </dl> | ||
| 120 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>- </dd></dl> | ||
| 121 | <dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl> | ||
| 122 | <dl compact><dt><b>Exceptions:</b></dt><dd> | ||
| 123 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 124 | <tr><td valign="top"></td><td valign="top"><em>std::runtime_error</em> </td><td></td></tr> | ||
| 125 | </table> | ||
| 126 | </dl> | ||
| 127 | <dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl> | ||
| 128 | |||
| 129 | <p>Implements <a class="el" href="classCInstruction.html#15e2ce88b04fcf208ba43c43f7dd57aa">CInstruction</a>.</p> | ||
| 130 | |||
| 131 | </div> | ||
| 132 | </div><p> | ||
| 133 | <a class="anchor" name="3c6844fd425de436ba3e7fbc98fd69e8"></a><!-- doxytag: member="CInstructionAdd::execute" ref="3c6844fd425de436ba3e7fbc98fd69e8" args="(CCPU *cpu)" --> | ||
| 134 | <div class="memitem"> | ||
| 135 | <div class="memproto"> | ||
| 136 | <table class="memname"> | ||
| 137 | <tr> | ||
| 138 | <td class="memname">void CInstructionAdd::execute </td> | ||
| 139 | <td>(</td> | ||
| 140 | <td class="paramtype"><a class="el" href="classCCPU.html">CCPU</a> * </td> | ||
| 141 | <td class="paramname"> <em>cpu</em> </td> | ||
| 142 | <td> ) </td> | ||
| 143 | <td width="100%"><code> [virtual]</code></td> | ||
| 144 | </tr> | ||
| 145 | </table> | ||
| 146 | </div> | ||
| 147 | <div class="memdoc"> | ||
| 148 | |||
| 149 | <p> | ||
| 150 | executes the instruction | ||
| 151 | <p> | ||
| 152 | <dl class="user" compact><dt><b>Methodname:</b></dt><dd>execute </dd></dl> | ||
| 153 | <dl compact><dt><b>Parameters:</b></dt><dd> | ||
| 154 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 155 | <tr><td valign="top"></td><td valign="top"><em>cpu</em> </td><td>pointer to cpu </td></tr> | ||
| 156 | </table> | ||
| 157 | </dl> | ||
| 158 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>- </dd></dl> | ||
| 159 | <dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl> | ||
| 160 | <dl compact><dt><b>Exceptions:</b></dt><dd> | ||
| 161 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 162 | <tr><td valign="top"></td><td valign="top"><em>std::runtime_error</em> </td><td></td></tr> | ||
| 163 | </table> | ||
| 164 | </dl> | ||
| 165 | <dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl> | ||
| 166 | |||
| 167 | <p>Implements <a class="el" href="classCInstruction.html#127fd09a772e9f584550cd342af770d1">CInstruction</a>.</p> | ||
| 168 | |||
| 169 | </div> | ||
| 170 | </div><p> | ||
| 171 | <hr><h2>Member Data Documentation</h2> | ||
| 172 | <a class="anchor" name="2808878fbfbee48f1c300bdd976446f4"></a><!-- doxytag: member="CInstructionAdd::m_regidx1" ref="2808878fbfbee48f1c300bdd976446f4" args="" --> | ||
| 173 | <div class="memitem"> | ||
| 174 | <div class="memproto"> | ||
| 175 | <table class="memname"> | ||
| 176 | <tr> | ||
| 177 | <td class="memname">unsigned <a class="el" href="classCInstructionAdd.html#2808878fbfbee48f1c300bdd976446f4">CInstructionAdd::m_regidx1</a><code> [protected]</code> </td> | ||
| 178 | </tr> | ||
| 179 | </table> | ||
| 180 | </div> | ||
| 181 | <div class="memdoc"> | ||
| 182 | |||
| 183 | <p> | ||
| 184 | register number | ||
| 185 | </div> | ||
| 186 | </div><p> | ||
| 187 | <a class="anchor" name="98e9005e15d5eb69ce561a91348a3a91"></a><!-- doxytag: member="CInstructionAdd::m_regidx2" ref="98e9005e15d5eb69ce561a91348a3a91" args="" --> | ||
| 188 | <div class="memitem"> | ||
| 189 | <div class="memproto"> | ||
| 190 | <table class="memname"> | ||
| 191 | <tr> | ||
| 192 | <td class="memname">unsigned <a class="el" href="classCInstructionAdd.html#98e9005e15d5eb69ce561a91348a3a91">CInstructionAdd::m_regidx2</a><code> [protected]</code> </td> | ||
| 193 | </tr> | ||
| 194 | </table> | ||
| 195 | </div> | ||
| 196 | <div class="memdoc"> | ||
| 197 | |||
| 198 | <p> | ||
| 199 | register number | ||
| 200 | </div> | ||
| 201 | </div><p> | ||
| 202 | <a class="anchor" name="1c5979587fea23262a9bc593b9dc61a3"></a><!-- doxytag: member="CInstructionAdd::m_regidx3" ref="1c5979587fea23262a9bc593b9dc61a3" args="" --> | ||
| 203 | <div class="memitem"> | ||
| 204 | <div class="memproto"> | ||
| 205 | <table class="memname"> | ||
| 206 | <tr> | ||
| 207 | <td class="memname">unsigned <a class="el" href="classCInstructionAdd.html#1c5979587fea23262a9bc593b9dc61a3">CInstructionAdd::m_regidx3</a><code> [protected]</code> </td> | ||
| 208 | </tr> | ||
| 209 | </table> | ||
| 210 | </div> | ||
| 211 | <div class="memdoc"> | ||
| 212 | |||
| 213 | <p> | ||
| 214 | register number | ||
| 215 | </div> | ||
| 216 | </div><p> | ||
| 217 | <hr>The documentation for this class was generated from the following files:<ul> | ||
| 218 | <li>mycpu/<a class="el" href="instructions_8h-source.html">instructions.h</a><li>mycpu/instructions.cpp</ul> | ||
| 219 | <hr size="1"><address style="text-align: right;"><small>Generated on Thu May 14 18:19:17 2009 for mycpu by | ||
| 220 | <a href="http://www.doxygen.org/index.html"> | ||
| 221 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> | ||
| 222 | </body> | ||
| 223 | </html> | ||
