<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sun May 19, 2013 8:28 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sun May 19, 2013 8:28 am</pubDate>
  <lastBuildDate>Sun May 19, 2013 8:28 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>RE: Any one using assembler, I have problem installing the f</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=15733#15733</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5508'&gt;bjsv&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Jan 16, 2006 4:18 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thank you, it's working now.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=15733#15733</comments>
                                        <author>bjsv</author>
                                        <pubDate>Mon Jan 16, 2006 4:18 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=15733#15733</guid>
                                      </item>
                                      <item>
                                        <title>RE: Any one using assembler, I have problem installing the f</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=15653#15653</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=162'&gt;Nigel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Jan 15, 2006 7:28 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      OK, having re-read your original post &amp;amp; checked out the pages you refer to, I think you have 3 different problems with the 3 assemblers you have installed.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;HLA&lt;/span&gt; - this is not an assembler as such, just a pre-processor. It needs an assembler installed. It seems to translate C into assembler... why not just use gcc ?&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;FASM&lt;/span&gt; looking again, it appears that you are trying to run it from the directory in which you installed it. The only problem with that is that Linux doesn't by default search the current directory for commands (it's a security thing). To run fasm from the directory you installed it in you would add &quot;./&quot; to the front of the command, so in your case :&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp;&amp;#91;bjsv@062249163244 fasm&amp;#93;$ ./fasm /home/bjsv/Desktop/fasm/examples/elfexe/hello.asm &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
Now, if you want to be able to run it just by using the &lt;span style=&quot;font-weight: bold&quot;&gt;fasm&lt;/span&gt; command from anywhere, you need to firstly find out exactly where fasm is. I'm guessing you've installed it in /home/bjsv/Desktop/fasm (but I could be wrong &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;). If you succeed in running the assembler using the command above, then type &lt;span style=&quot;font-weight: bold&quot;&gt;pwd&lt;/span&gt; in that same directory to find out where you are.&lt;br /&gt;
Assuming it is /home/bjsv/Desktop/fasm you then need to edit the .bashrc file in your home directory and add the line&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;export PATH=$PATH&amp;#58;/home/bjsv/Desktop/fasm&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt; at the bottom of the file.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;NASM&lt;/span&gt; - looks like this one installed OK, but you aren't supplying it with a valid assembler file. Try doing this :&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;$ cd /home/bjsv/Desktop/fasm/examples/elfexe&lt;br /&gt;
$ nasm -f elf hello.asm&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=15653#15653</comments>
                                        <author>Nigel</author>
                                        <pubDate>Sun Jan 15, 2006 7:28 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=15653#15653</guid>
                                      </item>
                                      <item>
                                        <title>RE: Any one using assembler, I have problem installing the f</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=15625#15625</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5508'&gt;bjsv&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Jan 15, 2006 3:18 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      There is instalation for the fasm, I just downloaded it to the desktop.&lt;br /&gt;
I didn't find anything excep &lt;a href=&quot;tfile:///usr/share/vim/syntax/fasm.vim&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;tfile:///usr/share/vim/syntax/fasm.vim&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The .bashrc rc file goes like this&lt;br /&gt;
# .bashrc&lt;br /&gt;
&lt;br /&gt;
# User specific aliases and functions&lt;br /&gt;
&lt;br /&gt;
# Source global definitions&lt;br /&gt;
if [ -f /etc/bashrc ]; then&lt;br /&gt;
	. /etc/bashrc&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
How do I add the path variable</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=15625#15625</comments>
                                        <author>bjsv</author>
                                        <pubDate>Sun Jan 15, 2006 3:18 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=15625#15625</guid>
                                      </item>
                                      <item>
                                        <title>RE: Any one using assembler, I have problem installing the f</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=15577#15577</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=162'&gt;Nigel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Jan 14, 2006 8:42 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      The fasm command isn't in your executable path. You need to find out where it got installed, then add that to your PATH variable in your .bashrc file.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=15577#15577</comments>
                                        <author>Nigel</author>
                                        <pubDate>Sat Jan 14, 2006 8:42 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=15577#15577</guid>
                                      </item>
                                      <item>
                                        <title>Any one using assembler, I have problem installing the files</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=15545#15545</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5508'&gt;bjsv&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Jan 14, 2006 12:37 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi. I wan't to use an assembler to make programs, but having difficulties make them work or installing. (I'm new to Linux)&lt;br /&gt;
&lt;br /&gt;
I've tried many from &lt;a href=&quot;http://webster.cs.ucr.edu/AsmTools/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://webster.cs.ucr.edu/AsmTools/&lt;/a&gt; that supports Linux. (HLA,NASM,FASM)&lt;br /&gt;
&lt;br /&gt;
With the HLA I can't figure out the instalation process at&lt;br /&gt;
&lt;a href=&quot;http://webster.cs.ucr.edu/AsmTools/HLA/HLADoc/HLARef/HLARef11.html#1035885&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://webster.cs.ucr.edu/AsmTools/HLA/HLADoc/HLARef/HLARef11.html#1035885&lt;/a&gt;&lt;br /&gt;
there's something about the .bashrc file that are not the same at my comuter as in this document.&lt;br /&gt;
&lt;br /&gt;
With the FASM&lt;br /&gt;
I read the fasm.txt(It's for dos) and do what it says:&lt;br /&gt;
&lt;br /&gt;
[bjsv@062249163244 fasm]$ fasm fasm.txt&lt;br /&gt;
bash: fasm: command not found&lt;br /&gt;
&lt;br /&gt;
[bjsv@062249163244 fasm]$ fasm '/home/bjsv/Desktop/fasm/examples/elfexe/hello.asm'&lt;br /&gt;
bash: fasm: command not found&lt;br /&gt;
&lt;br /&gt;
The Nasm&lt;br /&gt;
i installed the rpm the right way I think, and found the program and type as in the &lt;a href=&quot;http://webster.cs.ucr.edu/AsmTools/NASM/Doc/NASMDOC1.HTM#section-1.3.2&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://webster.cs.ucr.edu/AsmTools/NASM/Doc/NASMDOC1.HTM#section-1.3.2&lt;/a&gt; says&lt;br /&gt;
&lt;br /&gt;
[root@062249163244 bin]# nasm -f elf myfile.asm&lt;br /&gt;
nasm: fatal: unable to open input file `myfile.asm'&lt;br /&gt;
&lt;br /&gt;
What's wrong, is there something I do wrong.&lt;br /&gt;
(I've encounter many problems installing other software as well. I just follow what's in the install file)</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=15545#15545</comments>
                                        <author>bjsv</author>
                                        <pubDate>Sat Jan 14, 2006 12:37 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=15545#15545</guid>
                                      </item></channel></rss>