Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Release 1.0
[palacios.git] / misc / decoder_test / XED2 / doc / html / xed-encode_8h.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>XED2: XED2 User Guide - Thu May 15 03:15:09 2008 </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.4.6 -->
8 <div class="tabs">
9   <ul>
10     <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
11     <li><a href="modules.html"><span>Modules</span></a></li>
12     <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
13     <li id="current"><a href="files.html"><span>Files</span></a></li>
14     <li>
15       <form action="search.php" method="get">
16         <table cellspacing="0" cellpadding="0" border="0">
17           <tr>
18             <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
19             <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
20           </tr>
21         </table>
22       </form>
23     </li>
24   </ul></div>
25 <div class="tabs">
26   <ul>
27     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
28     <li><a href="globals.html"><span>Globals</span></a></li>
29   </ul></div>
30 <h1>xed-encode.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
31 <dl compact><dt><b>Author:</b></dt><dd>Mark Charney &lt;<a href="mailto:mark.charney@intel.com">mark.charney@intel.com</a>&gt; </dd></dl>
32
33 <p>
34 Definition in file <a class="el" href="xed-encode_8h-source.html">xed-encode.h</a>.
35 <p>
36 <code>#include &quot;<a class="el" href="xed-common-hdrs_8h-source.html">xed-common-hdrs.h</a>&quot;</code><br>
37 <code>#include &quot;<a class="el" href="xed-types_8h-source.html">xed-types.h</a>&quot;</code><br>
38 <code>#include &quot;<a class="el" href="xed-error-enum_8h-source.html">xed-error-enum.h</a>&quot;</code><br>
39 <code>#include &quot;<a class="el" href="xed-operand-values-interface_8h-source.html">xed-operand-values-interface.h</a>&quot;</code><br>
40 <code>#include &quot;<a class="el" href="xed-operand-width-enum_8h-source.html">xed-operand-width-enum.h</a>&quot;</code><br>
41 <code>#include &quot;xed-encoder-iforms.h&quot;</code><br>
42 <code>#include &quot;<a class="el" href="xed-encoder-gen-defs_8h-source.html">xed-encoder-gen-defs.h</a>&quot;</code><br>
43 <code>#include &quot;<a class="el" href="xed-decoded-inst_8h-source.html">xed-decoded-inst.h</a>&quot;</code><br>
44
45 <p>
46 <a href="xed-encode_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
47 <tr><td></td></tr>
48 <tr><td colspan="2"><br><h2>Encoding</h2></td></tr>
49 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT <a class="el" href="xed-error-enum_8h.html#2611877aa5e8b566c1c2be45aa89c792">xed_error_enum_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g7c30222e2144a177903ce02beacb1996">xed_encode</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *r, xed_uint8_t *array, const unsigned int ilen, unsigned int *olen)</td></tr>
50
51 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is the main interface to the encoder.  <a href="group__ENC.html#g7c30222e2144a177903ce02beacb1996"></a><br></td></tr>
52 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT <a class="el" href="xed-error-enum_8h.html#2611877aa5e8b566c1c2be45aa89c792">xed_error_enum_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g7d0d452bdd6f1cc20ab5c7cc14fe79e8">xed_encode_nop</a> (xed_uint8_t *array, const unsigned int ilen)</td></tr>
53
54 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function will attempt to encode a NOP of exactly ilen bytes.  <a href="group__ENC.html#g7d0d452bdd6f1cc20ab5c7cc14fe79e8"></a><br></td></tr>
55 <tr><td colspan="2"><br><h2>String Printing</h2></td></tr>
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gf69b263c9882f189c5a6c6992d0f6fe7">xed_encode_request_print</a> (const <a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, char *buf, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> buflen)</td></tr>
57
58 <tr><td colspan="2"><br><h2>Operand Order</h2></td></tr>
59 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT <a class="el" href="xed-operand-enum_8h.html#09c2a35d8bb7bfe68bb3d34b0a5e011a">xed_operand_enum_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g0a0e2a6e3de6d372c938b14277db0eea">xed_encoder_request_get_operand_order</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> operand_index)</td></tr>
60
61 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gcfe5f5016d026ba1944e434a74e35345">xed_encoder_request_operand_order_entries</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
62
63 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retreive the number of entries in the encoder operand order array.  <a href="group__ENC.html#gcfe5f5016d026ba1944e434a74e35345"></a><br></td></tr>
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g1e46ce602263f0de591b3ebc268cc12e">xed_encoder_request_set_operand_order</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> operand_index, <a class="el" href="xed-operand-enum_8h.html#09c2a35d8bb7bfe68bb3d34b0a5e011a">xed_operand_enum_t</a> name)</td></tr>
65
66 <tr><td colspan="2"><br><h2>Memory</h2></td></tr>
67 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gac846d407fd6537461a6efaccff7609d">xed_encoder_request_set_agen</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
68
69 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g9002c58e013af93550df7bd9b37e13ed">xed_encoder_request_set_base0</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-reg-enum_8h.html#f05c33c5a68e9304d1d8ac0408ae3f61">xed_reg_enum_t</a> base_reg)</td></tr>
70
71 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gf109d486d1eadf5c8b86d1cba8387d29">xed_encoder_request_set_base1</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-reg-enum_8h.html#f05c33c5a68e9304d1d8ac0408ae3f61">xed_reg_enum_t</a> base_reg)</td></tr>
72
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gd436ed3d253f15e11f4c943e0308db06">xed_encoder_request_set_index</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-reg-enum_8h.html#f05c33c5a68e9304d1d8ac0408ae3f61">xed_reg_enum_t</a> index_reg)</td></tr>
74
75 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g7b4e446882bcc615e917132f3fbb16b3">xed_encoder_request_set_mem0</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
76
77 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gfe70e5db7dc59e9880f2db3ec7e71d9d">xed_encoder_request_set_mem1</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
78
79 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gf745dfb40af1361b8a9b9f1ecb4f0228">xed_encoder_request_set_memory_displacement</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, xed_int64_t memdisp, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> nbytes)</td></tr>
80
81 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g03790a14a625c544edcbda559e359f14">xed_encoder_request_set_memory_operand_length</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> nbytes)</td></tr>
82
83 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gca791f284c852c6ae4c071ba5751d257">xed_encoder_request_set_scale</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> scale)</td></tr>
84
85 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g72a43d42aa1c15bba69bcab84439471a">xed_encoder_request_set_seg0</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-reg-enum_8h.html#f05c33c5a68e9304d1d8ac0408ae3f61">xed_reg_enum_t</a> seg_reg)</td></tr>
86
87 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gfb3db0b671837fab077f4db357c7fe04">xed_encoder_request_set_seg1</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-reg-enum_8h.html#f05c33c5a68e9304d1d8ac0408ae3f61">xed_reg_enum_t</a> seg_reg)</td></tr>
88
89 <tr><td colspan="2"><br><h2>branches and far pointers</h2></td></tr>
90 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g3594acbdb2001a816da28b7554b2ae4c">xed_encoder_request_set_branch_displacement</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, xed_int32_t brdisp, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> nbytes)</td></tr>
91
92 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g7be1c7da28a5d88f485f7e80b67959b4">xed_encoder_request_set_ptr</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
93
94 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gd447fb779e58b7eaae0dd54e51af6066">xed_encoder_request_set_relbr</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
95
96 <tr><td colspan="2"><br><h2>Primary Encode Functions</h2></td></tr>
97 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gb416edcadb0d2b59fb62cfcd93991c3d">xed_encoder_request_set_effective_address_size</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> width_bits)</td></tr>
98
99 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g53b937905ca110c4dd4b20e5695d8937">xed_encoder_request_set_effective_operand_width</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> width_bits)</td></tr>
100
101 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gba22ae36cab0f632d5461830cc9a3133">xed_encoder_request_set_reg</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-operand-enum_8h.html#09c2a35d8bb7bfe68bb3d34b0a5e011a">xed_operand_enum_t</a> operand, <a class="el" href="xed-reg-enum_8h.html#f05c33c5a68e9304d1d8ac0408ae3f61">xed_reg_enum_t</a> reg)</td></tr>
102
103 <tr><td colspan="2"><br><h2>Prefixes</h2></td></tr>
104 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g14ab62a6407df15f864fde3d4f81b7fe">xed_encoder_request_set_lock</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
105
106 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">For locked (atomic read-modify-write) memops requests.  <a href="group__ENC.html#g14ab62a6407df15f864fde3d4f81b7fe"></a><br></td></tr>
107 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g71d03e9d694f56fc362974f2d81e5464">xed_encoder_request_set_rep</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
108
109 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">for REP(F3) and REPNE(F2) prefixe on string ops  <a href="group__ENC.html#g71d03e9d694f56fc362974f2d81e5464"></a><br></td></tr>
110 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gf651a483ec90cbf4495f87b114facc0b">xed_encoder_request_set_repne</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
111
112 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">for REP(F3) and REPNE(F2) prefixe on string ops  <a href="group__ENC.html#gf651a483ec90cbf4495f87b114facc0b"></a><br></td></tr>
113 <tr><td colspan="2"><br><h2>Immediates</h2></td></tr>
114 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gf2477dc50a13ec112d7cf3f3fa5c9178">xed_encoder_request_set_simm</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, xed_int32_t simm, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> nbytes)</td></tr>
115
116 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same storage as uimm0  <a href="group__ENC.html#gf2477dc50a13ec112d7cf3f3fa5c9178"></a><br></td></tr>
117 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g3f3721bb20e64524b475bd5f3d7bd1e0">xed_encoder_request_set_uimm0</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, xed_uint64_t uimm, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> nbytes)</td></tr>
118
119 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the uimm0 using a BYTE width.  <a href="group__ENC.html#g3f3721bb20e64524b475bd5f3d7bd1e0"></a><br></td></tr>
120 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g5dcaec413dfefdd6ca2ad179e5a181c9">xed_encoder_request_set_uimm0_bits</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, xed_uint64_t uimm, <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a> nbits)</td></tr>
121
122 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the uimm0 using a BIT width.  <a href="group__ENC.html#g5dcaec413dfefdd6ca2ad179e5a181c9"></a><br></td></tr>
123 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g4edd1347ebaceee3811584123b4daa9b">xed_encoder_request_set_uimm1</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, xed_uint8_t uimm)</td></tr>
124
125 <tr><td colspan="2"><br><h2>Initialization</h2></td></tr>
126 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g1125aa21681440d97ff3bb9736b0b9ed">xed_encoder_request_zero</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
127
128 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g483f4ee86b11b94a8d79f309b5388e49">xed_encoder_request_zero_operand_order</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
129
130 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g8a379853ad688ff61de9e73862617e40">xed_encoder_request_zero_set_mode</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, const <a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *dstate)</td></tr>
131
132 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
133 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a>(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xed-encode_8h.html#8471dde606a3e6bdb7565272673ced87">xed_encode_function_pointer_t</a> )(<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *enc_req)</td></tr>
134
135 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structxed__decoded__inst__s.html">xed_decoded_inst_s</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g56df34e455c5fa7524ff651017ef87fe">xed_encoder_request_s</a></td></tr>
136
137 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="group__DEC.html#ga704925b5f80885a0ac56640a7c70937">xed_decoded_inst_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a></td></tr>
138
139 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
140 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xed-types_8h.html#d355c921b747945a82d62233a599c7b5">xed_bool_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xed-encode_8h.html#a9a0c45e7896b4531f8712e2d300c129">xed_encoder_request__memop_compatible</a> (const <a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-operand-width-enum_8h.html#4bc2ed96b8433c06c363d614a2fa1676">xed_operand_width_enum_t</a> operand_width)</td></tr>
141
142 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xed-encode_8h.html#0d9e1118754efadf7fc217b90ef645f7">xed_encoder_request_encode_emit</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *q, const unsigned int bits, const xed_uint64_t value)</td></tr>
143
144 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT <a class="el" href="xed-iclass-enum_8h.html#d318511ae9cc50f102251b3c91a1ab9f">xed_iclass_enum_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gfb170645a9deebb7b3a74edae4de5e89">xed_encoder_request_get_iclass</a> (const <a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
145
146 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g6c6a723c9a89d72d3ad51705cb6b8836">xed_encoder_request_init_from_decode</a> (struct <a class="el" href="structxed__decoded__inst__s.html">xed_decoded_inst_s</a> *d)</td></tr>
147
148 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts an decoder request to a valid encoder request.  <a href="group__ENC.html#g6c6a723c9a89d72d3ad51705cb6b8836"></a><br></td></tr>
149 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT <a class="el" href="xed-operand-storage_8h.html#eb1037b79ccdc048af4887376f6382a4">xed_operand_values_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#g8411194f443b2bbfe5fbb23c1896dc74">xed_encoder_request_operands</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
150
151 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT const <a class="el" href="xed-operand-storage_8h.html#eb1037b79ccdc048af4887376f6382a4">xed_operand_values_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gbaed3d3191f648f4289ff8dcb43464b1">xed_encoder_request_operands_const</a> (const <a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p)</td></tr>
152
153 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ENC.html#gff030e16b97deae21b1f7613684c54c7">xed_encoder_request_set_iclass</a> (<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *p, <a class="el" href="xed-iclass-enum_8h.html#d318511ae9cc50f102251b3c91a1ab9f">xed_iclass_enum_t</a> iclass)</td></tr>
154
155 </table>
156 <hr><h2>Typedef Documentation</h2>
157 <a class="anchor" name="8471dde606a3e6bdb7565272673ced87"></a><!-- doxytag: member="xed-encode.h::xed_encode_function_pointer_t" ref="8471dde606a3e6bdb7565272673ced87" args=")(xed_encoder_request_t *enc_req)" --><p>
158 <table class="mdTable" cellpadding="2" cellspacing="0">
159   <tr>
160     <td class="mdRow">
161       <table cellpadding="0" cellspacing="0" border="0">
162         <tr>
163           <td class="md" nowrap valign="top">typedef <a class="el" href="xed-types_8h.html#0c92e8263b7ca02d8e4826ae5b79bb30">xed_uint_t</a>(* <a class="el" href="xed-encode_8h.html#8471dde606a3e6bdb7565272673ced87">xed_encode_function_pointer_t</a>)(<a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *enc_req)          </td>
164         </tr>
165       </table>
166     </td>
167   </tr>
168 </table>
169 <table cellspacing="5" cellpadding="0" border="0">
170   <tr>
171     <td>
172       &nbsp;
173     </td>
174     <td>
175
176 <p>
177
178 <p>
179 Definition at line <a class="el" href="xed-encode_8h-source.html#l00259">259</a> of file <a class="el" href="xed-encode_8h-source.html">xed-encode.h</a>.    </td>
180   </tr>
181 </table>
182 <hr><h2>Function Documentation</h2>
183 <a class="anchor" name="a9a0c45e7896b4531f8712e2d300c129"></a><!-- doxytag: member="xed-encode.h::xed_encoder_request__memop_compatible" ref="a9a0c45e7896b4531f8712e2d300c129" args="(const xed_encoder_request_t *p, xed_operand_width_enum_t operand_width)" --><p>
184 <table class="mdTable" cellpadding="2" cellspacing="0">
185   <tr>
186     <td class="mdRow">
187       <table cellpadding="0" cellspacing="0" border="0">
188         <tr>
189           <td class="md" nowrap valign="top"><a class="el" href="xed-types_8h.html#d355c921b747945a82d62233a599c7b5">xed_bool_t</a> xed_encoder_request__memop_compatible           </td>
190           <td class="md" valign="top">(&nbsp;</td>
191           <td class="md" nowrap valign="top">const <a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *&nbsp;</td>
192           <td class="mdname" nowrap> <em>p</em>, </td>
193         </tr>
194         <tr>
195           <td class="md" nowrap align="right"></td>
196           <td class="md"></td>
197           <td class="md" nowrap><a class="el" href="xed-operand-width-enum_8h.html#4bc2ed96b8433c06c363d614a2fa1676">xed_operand_width_enum_t</a>&nbsp;</td>
198           <td class="mdname" nowrap> <em>operand_width</em></td>
199         </tr>
200         <tr>
201           <td class="md"></td>
202           <td class="md">)&nbsp;</td>
203           <td class="md" colspan="2"></td>
204         </tr>
205       </table>
206     </td>
207   </tr>
208 </table>
209 <table cellspacing="5" cellpadding="0" border="0">
210   <tr>
211     <td>
212       &nbsp;
213     </td>
214     <td>
215
216 <p>
217     </td>
218   </tr>
219 </table>
220 <a class="anchor" name="0d9e1118754efadf7fc217b90ef645f7"></a><!-- doxytag: member="xed-encode.h::xed_encoder_request_encode_emit" ref="0d9e1118754efadf7fc217b90ef645f7" args="(xed_encoder_request_t *q, const unsigned int bits, const xed_uint64_t value)" --><p>
221 <table class="mdTable" cellpadding="2" cellspacing="0">
222   <tr>
223     <td class="mdRow">
224       <table cellpadding="0" cellspacing="0" border="0">
225         <tr>
226           <td class="md" nowrap valign="top">void xed_encoder_request_encode_emit           </td>
227           <td class="md" valign="top">(&nbsp;</td>
228           <td class="md" nowrap valign="top"><a class="el" href="group__ENC.html#g6f914541ddfa1ffe609acebff72d0b5f">xed_encoder_request_t</a> *&nbsp;</td>
229           <td class="mdname" nowrap> <em>q</em>, </td>
230         </tr>
231         <tr>
232           <td class="md" nowrap align="right"></td>
233           <td class="md"></td>
234           <td class="md" nowrap>const unsigned int&nbsp;</td>
235           <td class="mdname" nowrap> <em>bits</em>, </td>
236         </tr>
237         <tr>
238           <td class="md" nowrap align="right"></td>
239           <td class="md"></td>
240           <td class="md" nowrap>const xed_uint64_t&nbsp;</td>
241           <td class="mdname" nowrap> <em>value</em></td>
242         </tr>
243         <tr>
244           <td class="md"></td>
245           <td class="md">)&nbsp;</td>
246           <td class="md" colspan="2"></td>
247         </tr>
248       </table>
249     </td>
250   </tr>
251 </table>
252 <table cellspacing="5" cellpadding="0" border="0">
253   <tr>
254     <td>
255       &nbsp;
256     </td>
257     <td>
258
259 <p>
260     </td>
261   </tr>
262 </table>
263 <hr size="1"><address style="align: right;"><small>Generated on Thu May 15 03:15:09 2008 for XED2 by&nbsp;
264 <a href="http://www.doxygen.org/index.html">
265 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
266 </body>
267 </html>