OLD | NEW |
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" | 2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> | 3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> |
4 | 4 |
5 <!-- $Id: yasm.xml 1822 2007-04-14 19:55:45Z peter $ --> | |
6 | |
7 <refentry id="yasm"> | 5 <refentry id="yasm"> |
8 | 6 |
9 <refentryinfo> | 7 <refentryinfo> |
10 <title>The Yasm Modular Assembler</title> | 8 <title>The Yasm Modular Assembler</title> |
11 <date>April 2007</date> | 9 <date>April 2007</date> |
12 <productname>Yasm</productname> | 10 <productname>Yasm</productname> |
13 <author> | 11 <author> |
14 <firstname>Peter</firstname> | 12 <firstname>Peter</firstname> |
15 <surname>Johnson</surname> | 13 <surname>Johnson</surname> |
16 <affiliation> | 14 <affiliation> |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 <citerefentry> | 163 <citerefentry> |
166 <refentrytitle>yasm_dbgfmts</refentrytitle> | 164 <refentrytitle>yasm_dbgfmts</refentrytitle> |
167 <manvolnum>7</manvolnum> | 165 <manvolnum>7</manvolnum> |
168 </citerefentry> | 166 </citerefentry> |
169 | 167 |
170 for a list of supported debugging formats.</para> | 168 for a list of supported debugging formats.</para> |
171 </listitem> | 169 </listitem> |
172 </varlistentry> | 170 </varlistentry> |
173 | 171 |
174 <varlistentry> | 172 <varlistentry> |
175 <term><option>-h</option> or <option>--help</option>: Print a | |
176 summary of options</term> | |
177 | |
178 <listitem> | |
179 <para>Prints a summary of invocation options. All other options | |
180 are ignored, and no output file is generated.</para> | |
181 </listitem> | |
182 </varlistentry> | |
183 | |
184 <varlistentry> | |
185 <term><option>-L <replaceable>list</replaceable></option> or | 173 <term><option>-L <replaceable>list</replaceable></option> or |
186 <option>--lformat=<replaceable>list</replaceable></option>: | 174 <option>--lformat=<replaceable>list</replaceable></option>: |
187 Select list file format</term> | 175 Select list file format</term> |
188 | 176 |
189 <listitem> | 177 <listitem> |
190 <para>Selects the format/style of the output list file. List | 178 <para>Selects the format/style of the output list file. List |
191 files typically intermix the original source with the machine | 179 files typically intermix the original source with the machine |
192 code generated by the assembler. The default list format is | 180 code generated by the assembler. The default list format is |
193 <quote>nasm</quote>, which mimics the NASM list file format. | 181 <quote>nasm</quote>, which mimics the NASM list file format. |
194 To print a list of available list file formats to standard | 182 To print a list of available list file formats to standard |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 imported version of the actual NASM preprocessor. A | 271 imported version of the actual NASM preprocessor. A |
284 <quote>raw</quote> preprocessor is also available, which simply | 272 <quote>raw</quote> preprocessor is also available, which simply |
285 skips the preprocessing step, passing the input file directly | 273 skips the preprocessing step, passing the input file directly |
286 to the parser. To print a list of available preprocessors to | 274 to the parser. To print a list of available preprocessors to |
287 standard output, use <quote>help</quote> as | 275 standard output, use <quote>help</quote> as |
288 <replaceable>preproc</replaceable>.</para> | 276 <replaceable>preproc</replaceable>.</para> |
289 </listitem> | 277 </listitem> |
290 </varlistentry> | 278 </varlistentry> |
291 | 279 |
292 <varlistentry> | 280 <varlistentry> |
| 281 <term><option>-h</option> or <option>--help</option>: Print a |
| 282 summary of options</term> |
| 283 |
| 284 <listitem> |
| 285 <para>Prints a summary of invocation options. All other options |
| 286 are ignored, and no output file is generated.</para> |
| 287 </listitem> |
| 288 </varlistentry> |
| 289 |
| 290 <varlistentry> |
293 <term><option>--version</option>: Get the Yasm version</term> | 291 <term><option>--version</option>: Get the Yasm version</term> |
294 | 292 |
295 <listitem> | 293 <listitem> |
296 <para>This option causes Yasm to prints the version number of | 294 <para>This option causes Yasm to prints the version number of |
297 Yasm as well as a license summary to standard output. All | 295 Yasm as well as a license summary to standard output. All |
298 other options are ignored, and no output file is | 296 other options are ignored, and no output file is |
299 generated.</para> | 297 generated.</para> |
300 </listitem> | 298 </listitem> |
301 </varlistentry> | 299 </varlistentry> |
302 </variablelist> | 300 </variablelist> |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 <refsect1> | 543 <refsect1> |
546 <title>Bugs</title> | 544 <title>Bugs</title> |
547 | 545 |
548 <para>When using the <quote>x86</quote> architecture, it is overly | 546 <para>When using the <quote>x86</quote> architecture, it is overly |
549 easy to generate AMD64 code (using the <userinput>BITS | 547 easy to generate AMD64 code (using the <userinput>BITS |
550 64</userinput> directive) and generate a 32-bit object file (by | 548 64</userinput> directive) and generate a 32-bit object file (by |
551 failing to specify <option>-m amd64</option> or selecting a 64-bit | 549 failing to specify <option>-m amd64</option> or selecting a 64-bit |
552 object format such as ELF64 on the command line).</para> | 550 object format such as ELF64 on the command line).</para> |
553 </refsect1> | 551 </refsect1> |
554 </refentry> | 552 </refentry> |
OLD | NEW |