[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY NASM-download-http "http://prdownloads.sourceforge.net/nasm/nasm-&NASM-version;.tar.bz2">
|
---|
| 8 | <!ENTITY NASM-download-ftp " ">
|
---|
[20f5e71a] | 9 | <!ENTITY NASM-md5sum "2032ad44c7359f7a9a166a40a633e772">
|
---|
| 10 | <!ENTITY NASM-size "543 KB">
|
---|
[9519b52] | 11 | <!ENTITY NASM-buildsize "17.3 MB (includes building and installing all docs)">
|
---|
| 12 | <!ENTITY NASM-time "0.20 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[284d8e17] | 15 | <sect1 id="NASM" xreflabel="NASM-&NASM-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[19aa75a] | 20 | <?dbhtml filename="NASM.html" ?>
|
---|
[284d8e17] | 21 | <title>NASM-&NASM-version;</title>
|
---|
[3b764a4e] | 22 | <indexterm zone="NASM">
|
---|
| 23 | <primary sortas="a-NASM">NASM</primary></indexterm>
|
---|
[284d8e17] | 24 |
|
---|
[52d29f7] | 25 | <sect2>
|
---|
[bd23186f] | 26 | <title>Introduction to
|
---|
| 27 | <application><acronym>NASM</acronym></application></title>
|
---|
| 28 |
|
---|
| 29 | <para><application><acronym>NASM</acronym></application> (Netwide Assembler)
|
---|
| 30 | is an 80x86 assembler designed for portability and modularity. It includes a
|
---|
[52d29f7] | 31 | disassembler as well.</para>
|
---|
[bd23186f] | 32 |
|
---|
[52d29f7] | 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing='compact'>
|
---|
[bd23186f] | 35 | <listitem><para>Download (HTTP):
|
---|
| 36 | <ulink url="&NASM-download-http;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download (FTP):
|
---|
| 38 | <ulink url="&NASM-download-ftp;"/></para></listitem>
|
---|
[23460a6] | 39 | <listitem><para>Download MD5 sum: &NASM-md5sum;</para></listitem>
|
---|
[52d29f7] | 40 | <listitem><para>Download size: &NASM-size;</para></listitem>
|
---|
[bd23186f] | 41 | <listitem><para>Estimated disk space required:
|
---|
| 42 | &NASM-buildsize;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated build time:
|
---|
| 44 | &NASM-time;</para></listitem></itemizedlist>
|
---|
[52d29f7] | 45 | </sect3>
|
---|
[bd23186f] | 46 |
|
---|
[9519b52] | 47 | <sect3><title><application><acronym>NASM</acronym></application>
|
---|
| 48 | dependencies</title>
|
---|
| 49 | <sect4><title>Optional (for building documentation)</title>
|
---|
| 50 | <para><xref linkend="tex"/>, and
|
---|
| 51 | <xref linkend="espgs"/> or <xref linkend="gs"/></para>
|
---|
| 52 | </sect4>
|
---|
| 53 | </sect3>
|
---|
[52d29f7] | 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2>
|
---|
[bd23186f] | 57 | <title>Installation of
|
---|
| 58 | <application><acronym>NASM</acronym></application></title>
|
---|
| 59 |
|
---|
| 60 | <para>Install <application><acronym>NASM</acronym></application> by running
|
---|
| 61 | the following commands:</para>
|
---|
| 62 |
|
---|
[52d29f7] | 63 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[9519b52] | 64 | make &&
|
---|
| 65 | make -C rdoff/doc &&
|
---|
| 66 | make -C rdoff/doc html</command></userinput></screen>
|
---|
| 67 |
|
---|
| 68 | <para>To build the base <application><acronym>NASM</acronym></application>
|
---|
| 69 | documentation, ensure you have Ghostscript installed and issue:</para>
|
---|
| 70 |
|
---|
| 71 | <screen><userinput><command>make doc</command></userinput></screen>
|
---|
| 72 |
|
---|
| 73 | <para>To build the <acronym>RDOFF</acronym> Postscript documentation,
|
---|
| 74 | ensure you have <xref linkend="tex"/> installed and issue:</para>
|
---|
| 75 |
|
---|
| 76 | <screen><userinput><command>sed -i -e "s/dvips \$</& -o rdoff.ps/" rdoff/doc/Makefile &&
|
---|
| 77 | make -C rdoff/doc ps</command></userinput></screen>
|
---|
| 78 |
|
---|
| 79 | <para>To build the <acronym>RDOFF</acronym> <acronym>PDF</acronym>
|
---|
| 80 | documentation, ensure you have Ghostscript installed and issue:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput><command>make -C rdoff/doc pdf</command></userinput></screen>
|
---|
[bd23186f] | 83 |
|
---|
[3b764a4e] | 84 | <para>Now, as the root user:</para>
|
---|
[bd23186f] | 85 |
|
---|
[9519b52] | 86 | <screen><userinput role='root'><command>make install &&
|
---|
| 87 | make install_rdf &&
|
---|
| 88 | install -v -m644 rdoff/doc/rdoff.info /usr/share/info &&
|
---|
| 89 | install -v -m755 -d /usr/share/doc/nasm/html &&
|
---|
| 90 | install -v -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm &&
|
---|
| 91 | cp -v -R rdoff/doc/rdoff /usr/share/doc/nasm/html</command></userinput></screen>
|
---|
| 92 |
|
---|
| 93 | <para>If you built the Ghostscript generated documentation, install it using
|
---|
| 94 | the following commands as the root user:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput role='root'><command>make install_doc &&
|
---|
| 97 | install -v -m644 rdoff/doc/rdoff.pdf /usr/share/doc/nasm</command></userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>Lastly, if you built the <acronym>RDOFF</acronym> Postscript
|
---|
| 100 | documentation, install it using the following command as the root user:</para>
|
---|
| 101 |
|
---|
| 102 | <screen><userinput role='root'><command>install -v -m644 rdoff/doc/rdoff.ps /usr/share/doc/nasm</command></userinput></screen>
|
---|
[bd23186f] | 103 |
|
---|
[52d29f7] | 104 | </sect2>
|
---|
[bd23186f] | 105 |
|
---|
[3b764a4e] | 106 | <sect2>
|
---|
| 107 | <title>Contents</title>
|
---|
[bd23186f] | 108 |
|
---|
[3b764a4e] | 109 | <segmentedlist>
|
---|
| 110 | <segtitle>Installed Programs</segtitle>
|
---|
| 111 | <segtitle>Installed Libraries</segtitle>
|
---|
| 112 | <segtitle>Installed Directories</segtitle>
|
---|
| 113 |
|
---|
| 114 | <seglistitem>
|
---|
[9519b52] | 115 | <seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdfdump, rdflib and
|
---|
| 116 | rdx</seg>
|
---|
[3b764a4e] | 117 | <seg>None</seg>
|
---|
[9519b52] | 118 | <seg>/usr/share/doc/nasm</seg>
|
---|
[3b764a4e] | 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
| 121 |
|
---|
| 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="nasm-prog">
|
---|
| 127 | <term><command>nasm</command></term>
|
---|
| 128 | <listitem><para>is a portable 80x86 assembler.</para>
|
---|
| 129 | <indexterm zone="NASM nasm-prog">
|
---|
| 130 | <primary sortas="b-nasm">nasm</primary>
|
---|
| 131 | </indexterm></listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="ndisasm">
|
---|
| 135 | <term><command>ndisasm</command></term>
|
---|
| 136 | <listitem><para>is an 80x86 binary file disassembler.</para>
|
---|
| 137 | <indexterm zone="NASM ndisasm">
|
---|
| 138 | <primary sortas="b-ndisasm">ndisasm</primary>
|
---|
| 139 | </indexterm></listitem>
|
---|
| 140 | </varlistentry>
|
---|
[9519b52] | 141 |
|
---|
| 142 | <varlistentry id="ldrdf">
|
---|
| 143 | <term><command>ldrdf</command></term>
|
---|
| 144 | <listitem><para>is an <acronym>RDOFF</acronym> linker.</para>
|
---|
| 145 | <indexterm zone="NASM ldrdf">
|
---|
| 146 | <primary sortas="b-ldrdf">ldrdf</primary>
|
---|
| 147 | </indexterm></listitem>
|
---|
| 148 | </varlistentry>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="rdfdump">
|
---|
| 151 | <term><command>rdfdump</command></term>
|
---|
| 152 | <listitem><para>dumps the contents of an <acronym>RDOFF</acronym> file.</para>
|
---|
| 153 | <indexterm zone="NASM rdfdump">
|
---|
| 154 | <primary sortas="b-rdfdump">rdfdump</primary>
|
---|
| 155 | </indexterm></listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="rdflib">
|
---|
| 159 | <term><command>rdflib</command></term>
|
---|
| 160 | <listitem><para>is an <acronym>RDOFF</acronym> librarian.</para>
|
---|
| 161 | <indexterm zone="NASM rdflib">
|
---|
| 162 | <primary sortas="b-rdflib">rdflib</primary>
|
---|
| 163 | </indexterm></listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="rdx">
|
---|
| 167 | <term><command>rdx</command></term>
|
---|
| 168 | <listitem><para>is used to load and execute an <acronym>RDOFF</acronym>
|
---|
| 169 | module.</para>
|
---|
| 170 | <indexterm zone="NASM rdx">
|
---|
| 171 | <primary sortas="b-rdx">rdx</primary>
|
---|
| 172 | </indexterm></listitem>
|
---|
| 173 | </varlistentry>
|
---|
[3b764a4e] | 174 | </variablelist>
|
---|
[bd23186f] | 175 |
|
---|
[52d29f7] | 176 | </sect2>
|
---|
[284d8e17] | 177 |
|
---|
| 178 | </sect1>
|
---|