[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 |
|
---|
[5eaa6873] | 7 | <!ENTITY NASM-download-http "http://prdownloads.sourceforge.net/nasm/nasm-&NASM-version;.tar.bz2">
|
---|
| 8 | <!ENTITY NASM-download-ftp " ">
|
---|
| 9 | <!ENTITY NASM-md5sum "2032ad44c7359f7a9a166a40a633e772">
|
---|
| 10 | <!ENTITY NASM-size "543 KB">
|
---|
| 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;">
|
---|
[5eaa6873] | 16 | <?dbhtml filename="NASM.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>NASM-&NASM-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="NASM">
|
---|
| 26 | <primary sortas="a-NASM">NASM</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to NASM</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>NASM</application> (Netwide Assembler)
|
---|
| 33 | is an 80x86 assembler designed for portability and modularity. It includes a
|
---|
| 34 | disassembler as well.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&NASM-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&NASM-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &NASM-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &NASM-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &NASM-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &NASM-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">NASM Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Optional (for Building Documentation)</bridgehead>
|
---|
| 61 | <para><xref linkend="tex"/>, and
|
---|
| 62 | <xref linkend="espgs"/> or <xref linkend="gs"/></para>
|
---|
| 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2 role="installation">
|
---|
| 67 | <title>Installation of NASM</title>
|
---|
| 68 |
|
---|
| 69 | <para>Install <application>NASM</application> by running
|
---|
| 70 | the following commands:</para>
|
---|
| 71 |
|
---|
| 72 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[9519b52] | 73 | make &&
|
---|
| 74 | make -C rdoff/doc &&
|
---|
[5eaa6873] | 75 | make -C rdoff/doc html</userinput></screen>
|
---|
[9519b52] | 76 |
|
---|
[5eaa6873] | 77 | <para>To build the base <application>NASM</application> documentation,
|
---|
| 78 | ensure you have <application>Ghostscript</application> installed and issue:</para>
|
---|
[9519b52] | 79 |
|
---|
[5eaa6873] | 80 | <screen><userinput>make doc</userinput></screen>
|
---|
[9519b52] | 81 |
|
---|
[5eaa6873] | 82 | <para>To build the RDOFF Postscript documentation,
|
---|
| 83 | ensure you have <xref linkend="tex"/> installed and issue:</para>
|
---|
[9519b52] | 84 |
|
---|
[5eaa6873] | 85 | <screen><userinput>sed -i -e "s/dvips \$</& -o rdoff.ps/" rdoff/doc/Makefile &&
|
---|
| 86 | make -C rdoff/doc ps</userinput></screen>
|
---|
[9519b52] | 87 |
|
---|
[5eaa6873] | 88 | <para>To build the RDOFF PDF documentation, ensure you have
|
---|
| 89 | <application>Ghostscript</application> installed and issue:</para>
|
---|
[9519b52] | 90 |
|
---|
[5eaa6873] | 91 | <screen><userinput>make -C rdoff/doc pdf</userinput></screen>
|
---|
[bd23186f] | 92 |
|
---|
[5eaa6873] | 93 | <para>This package does not come with a test suite.</para>
|
---|
[87053af] | 94 |
|
---|
[5eaa6873] | 95 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[bd23186f] | 96 |
|
---|
[5eaa6873] | 97 | <screen role="root"><userinput>make install &&
|
---|
[9519b52] | 98 | make install_rdf &&
|
---|
| 99 | install -v -m644 rdoff/doc/rdoff.info /usr/share/info &&
|
---|
| 100 | install -v -m755 -d /usr/share/doc/nasm/html &&
|
---|
| 101 | install -v -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm &&
|
---|
[5eaa6873] | 102 | cp -v -R rdoff/doc/rdoff /usr/share/doc/nasm/html</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>If you built the <application>Ghostscript</application> generated
|
---|
| 105 | documentation, install it using the following commands as the
|
---|
| 106 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 107 |
|
---|
| 108 | <screen role="root"><userinput>make install_doc &&
|
---|
| 109 | install -v -m644 rdoff/doc/rdoff.pdf /usr/share/doc/nasm</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>Lastly, if you built the RDOFF Postscript documentation, install it
|
---|
| 112 | using the following command as the
|
---|
| 113 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>install -v -m644 rdoff/doc/rdoff.ps /usr/share/doc/nasm</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Libraries</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdfdump, rdflib, and
|
---|
| 129 | rdx</seg>
|
---|
| 130 | <seg>None</seg>
|
---|
| 131 | <seg>/usr/share/doc/nasm</seg>
|
---|
| 132 | </seglistitem>
|
---|
| 133 | </segmentedlist>
|
---|
| 134 |
|
---|
| 135 | <variablelist>
|
---|
| 136 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 137 | <?dbfo list-presentation="list"?>
|
---|
| 138 | <?dbhtml list-presentation="table"?>
|
---|
| 139 |
|
---|
| 140 | <varlistentry id="nasm-prog">
|
---|
| 141 | <term><command>nasm</command></term>
|
---|
| 142 | <listitem>
|
---|
| 143 | <para>is a portable 80x86 assembler.</para>
|
---|
| 144 | <indexterm zone="NASM nasm-prog">
|
---|
| 145 | <primary sortas="b-nasm">nasm</primary>
|
---|
| 146 | </indexterm>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="ndisasm">
|
---|
| 151 | <term><command>ndisasm</command></term>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>is an 80x86 binary file disassembler.</para>
|
---|
| 154 | <indexterm zone="NASM ndisasm">
|
---|
| 155 | <primary sortas="b-ndisasm">ndisasm</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="ldrdf">
|
---|
| 161 | <term><command>ldrdf</command></term>
|
---|
| 162 | <listitem>
|
---|
| 163 | <para>is an RDOFF linker.</para>
|
---|
| 164 | <indexterm zone="NASM ldrdf">
|
---|
| 165 | <primary sortas="b-ldrdf">ldrdf</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="rdfdump">
|
---|
| 171 | <term><command>rdfdump</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>dumps the contents of an RDOFF file.</para>
|
---|
| 174 | <indexterm zone="NASM rdfdump">
|
---|
| 175 | <primary sortas="b-rdfdump">rdfdump</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="rdflib">
|
---|
| 181 | <term><command>rdflib</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>is an RDOFF librarian.</para>
|
---|
| 184 | <indexterm zone="NASM rdflib">
|
---|
| 185 | <primary sortas="b-rdflib">rdflib</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="rdx">
|
---|
| 191 | <term><command>rdx</command></term>
|
---|
| 192 | <listitem>
|
---|
| 193 | <para>is used to load and execute an RDOFF module.</para>
|
---|
| 194 | <indexterm zone="NASM rdx">
|
---|
| 195 | <primary sortas="b-rdx">rdx</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | </variablelist>
|
---|
| 201 |
|
---|
| 202 | </sect2>
|
---|
[284d8e17] | 203 |
|
---|
| 204 | </sect1>
|
---|