diff options
Diffstat (limited to 'ue3/doxygen/classCInstructionDec.html')
| -rw-r--r-- | ue3/doxygen/classCInstructionDec.html | 189 |
1 files changed, 189 insertions, 0 deletions
diff --git a/ue3/doxygen/classCInstructionDec.html b/ue3/doxygen/classCInstructionDec.html new file mode 100644 index 0000000..b32ffa7 --- /dev/null +++ b/ue3/doxygen/classCInstructionDec.html | |||
| @@ -0,0 +1,189 @@ | |||
| 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: CInstructionDec 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>CInstructionDec Class Reference</h1><!-- doxytag: class="CInstructionDec" --><!-- 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 CInstructionDec:</div> | ||
| 27 | <div class="dynsection"> | ||
| 28 | |||
| 29 | <p><center><img src="classCInstructionDec.png" usemap="#CInstructionDec_map" border="0" alt=""></center> | ||
| 30 | <map name="CInstructionDec_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="classCInstructionDec-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="classCInstructionDec.html">CInstructionDec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInstructionDec.html#5aa3bcd55f05765e25758f45f4f55059">factory</a> ()</td></tr> | ||
| 40 | |||
| 41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">creates a new instance of this instruction <a href="#5aa3bcd55f05765e25758f45f4f55059"></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="classCInstructionDec.html#84347e9b3a373bafc5c1ae79a557f4c3">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="#84347e9b3a373bafc5c1ae79a557f4c3"></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="classCInstructionDec.html#b0a51da3b41aaa4e3e51baaa4151ebca">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="#b0a51da3b41aaa4e3e51baaa4151ebca"></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="classCInstructionDec.html#4ea09ae25025e93c2790d5dc1536f41c">m_regidx1</a></td></tr> | ||
| 50 | |||
| 51 | </table> | ||
| 52 | <hr><a name="_details"></a><h2>Detailed Description</h2> | ||
| 53 | Implementation of assembler command "dec" Syntax: dec R1 (R1--) <hr><h2>Member Function Documentation</h2> | ||
| 54 | <a class="anchor" name="5aa3bcd55f05765e25758f45f4f55059"></a><!-- doxytag: member="CInstructionDec::factory" ref="5aa3bcd55f05765e25758f45f4f55059" args="()" --> | ||
| 55 | <div class="memitem"> | ||
| 56 | <div class="memproto"> | ||
| 57 | <table class="memname"> | ||
| 58 | <tr> | ||
| 59 | <td class="memname"><a class="el" href="classCInstructionDec.html">CInstructionDec</a>* CInstructionDec::factory </td> | ||
| 60 | <td>(</td> | ||
| 61 | <td class="paramname"> </td> | ||
| 62 | <td> ) </td> | ||
| 63 | <td width="100%"><code> [inline, virtual]</code></td> | ||
| 64 | </tr> | ||
| 65 | </table> | ||
| 66 | </div> | ||
| 67 | <div class="memdoc"> | ||
| 68 | |||
| 69 | <p> | ||
| 70 | creates a new instance of this instruction | ||
| 71 | <p> | ||
| 72 | <dl class="user" compact><dt><b>Methodname:</b></dt><dd>factory </dd></dl> | ||
| 73 | <dl compact><dt><b>Parameters:</b></dt><dd> | ||
| 74 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 75 | <tr><td valign="top"></td><td valign="top"><em>-</em> </td><td></td></tr> | ||
| 76 | </table> | ||
| 77 | </dl> | ||
| 78 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>new instruction instance </dd></dl> | ||
| 79 | <dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl> | ||
| 80 | <dl compact><dt><b>Exceptions:</b></dt><dd> | ||
| 81 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 82 | <tr><td valign="top"></td><td valign="top"><em>none</em> </td><td></td></tr> | ||
| 83 | </table> | ||
| 84 | </dl> | ||
| 85 | <dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl> | ||
| 86 | |||
| 87 | <p>Implements <a class="el" href="classCInstruction.html#fae8dc231b375db91f874df0d085b7dc">CInstruction</a>.</p> | ||
| 88 | |||
| 89 | </div> | ||
| 90 | </div><p> | ||
| 91 | <a class="anchor" name="84347e9b3a373bafc5c1ae79a557f4c3"></a><!-- doxytag: member="CInstructionDec::compile" ref="84347e9b3a373bafc5c1ae79a557f4c3" args="(std::list< std::string > &params)" --> | ||
| 92 | <div class="memitem"> | ||
| 93 | <div class="memproto"> | ||
| 94 | <table class="memname"> | ||
| 95 | <tr> | ||
| 96 | <td class="memname">void CInstructionDec::compile </td> | ||
| 97 | <td>(</td> | ||
| 98 | <td class="paramtype">std::list< std::string > & </td> | ||
| 99 | <td class="paramname"> <em>params</em> </td> | ||
| 100 | <td> ) </td> | ||
| 101 | <td width="100%"><code> [virtual]</code></td> | ||
| 102 | </tr> | ||
| 103 | </table> | ||
| 104 | </div> | ||
| 105 | <div class="memdoc"> | ||
| 106 | |||
| 107 | <p> | ||
| 108 | parses instruction parameters and prepares the instruction for executing | ||
| 109 | <p> | ||
| 110 | <dl class="user" compact><dt><b>Methodname:</b></dt><dd>compile </dd></dl> | ||
| 111 | <dl compact><dt><b>Parameters:</b></dt><dd> | ||
| 112 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 113 | <tr><td valign="top"></td><td valign="top"><em>params</em> </td><td>list of parameters of this instruction </td></tr> | ||
| 114 | </table> | ||
| 115 | </dl> | ||
| 116 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>- </dd></dl> | ||
| 117 | <dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl> | ||
| 118 | <dl compact><dt><b>Exceptions:</b></dt><dd> | ||
| 119 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 120 | <tr><td valign="top"></td><td valign="top"><em>std::runtime_error</em> </td><td></td></tr> | ||
| 121 | </table> | ||
| 122 | </dl> | ||
| 123 | <dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl> | ||
| 124 | |||
| 125 | <p>Implements <a class="el" href="classCInstruction.html#15e2ce88b04fcf208ba43c43f7dd57aa">CInstruction</a>.</p> | ||
| 126 | |||
| 127 | </div> | ||
| 128 | </div><p> | ||
| 129 | <a class="anchor" name="b0a51da3b41aaa4e3e51baaa4151ebca"></a><!-- doxytag: member="CInstructionDec::execute" ref="b0a51da3b41aaa4e3e51baaa4151ebca" args="(CCPU *cpu)" --> | ||
| 130 | <div class="memitem"> | ||
| 131 | <div class="memproto"> | ||
| 132 | <table class="memname"> | ||
| 133 | <tr> | ||
| 134 | <td class="memname">void CInstructionDec::execute </td> | ||
| 135 | <td>(</td> | ||
| 136 | <td class="paramtype"><a class="el" href="classCCPU.html">CCPU</a> * </td> | ||
| 137 | <td class="paramname"> <em>cpu</em> </td> | ||
| 138 | <td> ) </td> | ||
| 139 | <td width="100%"><code> [virtual]</code></td> | ||
| 140 | </tr> | ||
| 141 | </table> | ||
| 142 | </div> | ||
| 143 | <div class="memdoc"> | ||
| 144 | |||
| 145 | <p> | ||
| 146 | executes the instruction | ||
| 147 | <p> | ||
| 148 | <dl class="user" compact><dt><b>Methodname:</b></dt><dd>execute </dd></dl> | ||
| 149 | <dl compact><dt><b>Parameters:</b></dt><dd> | ||
| 150 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 151 | <tr><td valign="top"></td><td valign="top"><em>cpu</em> </td><td>pointer to cpu </td></tr> | ||
| 152 | </table> | ||
| 153 | </dl> | ||
| 154 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>- </dd></dl> | ||
| 155 | <dl class="user" compact><dt><b>Global variables used:</b></dt><dd>none </dd></dl> | ||
| 156 | <dl compact><dt><b>Exceptions:</b></dt><dd> | ||
| 157 | <table border="0" cellspacing="2" cellpadding="0"> | ||
| 158 | <tr><td valign="top"></td><td valign="top"><em>std::runtime_error</em> </td><td></td></tr> | ||
| 159 | </table> | ||
| 160 | </dl> | ||
| 161 | <dl class="user" compact><dt><b>Conditions:</b></dt><dd>none </dd></dl> | ||
| 162 | |||
| 163 | <p>Implements <a class="el" href="classCInstruction.html#127fd09a772e9f584550cd342af770d1">CInstruction</a>.</p> | ||
| 164 | |||
| 165 | </div> | ||
| 166 | </div><p> | ||
| 167 | <hr><h2>Member Data Documentation</h2> | ||
| 168 | <a class="anchor" name="4ea09ae25025e93c2790d5dc1536f41c"></a><!-- doxytag: member="CInstructionDec::m_regidx1" ref="4ea09ae25025e93c2790d5dc1536f41c" args="" --> | ||
| 169 | <div class="memitem"> | ||
| 170 | <div class="memproto"> | ||
| 171 | <table class="memname"> | ||
| 172 | <tr> | ||
| 173 | <td class="memname">unsigned <a class="el" href="classCInstructionDec.html#4ea09ae25025e93c2790d5dc1536f41c">CInstructionDec::m_regidx1</a><code> [protected]</code> </td> | ||
| 174 | </tr> | ||
| 175 | </table> | ||
| 176 | </div> | ||
| 177 | <div class="memdoc"> | ||
| 178 | |||
| 179 | <p> | ||
| 180 | register number | ||
| 181 | </div> | ||
| 182 | </div><p> | ||
| 183 | <hr>The documentation for this class was generated from the following files:<ul> | ||
| 184 | <li>mycpu/<a class="el" href="instructions_8h-source.html">instructions.h</a><li>mycpu/instructions.cpp</ul> | ||
| 185 | <hr size="1"><address style="text-align: right;"><small>Generated on Thu May 14 18:19:17 2009 for mycpu by | ||
| 186 | <a href="http://www.doxygen.org/index.html"> | ||
| 187 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> | ||
| 188 | </body> | ||
| 189 | </html> | ||
