<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: assembler developer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226562#M895597</link>
    <description>Thank Laurent very much for helping me enthusiastically. I did follow you and it's seem to be OK but my programmer hasn't still completely satisfied because his aim is:&lt;BR /&gt; " I 's a program written by C , compiled in HP-PA1.0 HP-UX11.0 and it links with some library files in SOM (System Object Module) format. Do you have any way to compile this program in Itanium HP-UX 11.23."&lt;BR /&gt; Best regarded</description>
    <pubDate>Sun, 28 Mar 2004 23:16:16 GMT</pubDate>
    <dc:creator>Hoang Minh Tuan</dc:creator>
    <dc:date>2004-03-28T23:16:16Z</dc:date>
    <item>
      <title>assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226551#M895586</link>
      <description>Hi all&lt;BR /&gt;I'm a HP-UX system administrator, I know fuzziness about assembler language. For the work, a program developer want me to install assembler software for him. So, anyone can summarize what it's used for and guide me to this free/trial software.&lt;BR /&gt; Thanks in advance and highly appreciate</description>
      <pubDate>Tue, 23 Mar 2004 03:55:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226551#M895586</guid>
      <dc:creator>Hoang Minh Tuan</dc:creator>
      <dc:date>2004-03-23T03:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226552#M895587</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can check these:&lt;BR /&gt;&lt;A href="http://www.bloodshed.net/compilers/" target="_blank"&gt;http://www.bloodshed.net/compilers/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.mgtek.com/miniide/download/unix.aspx" target="_blank"&gt;http://www.mgtek.com/miniide/download/unix.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Tue, 23 Mar 2004 04:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226552#M895587</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2004-03-23T04:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226553#M895588</link>
      <description>&lt;A href="http://webster.cs.ucr.edu/AsmTools/index.html" target="_blank"&gt;http://webster.cs.ucr.edu/AsmTools/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Lots of free assemblers here, including the Gnu version.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Mar 2004 04:16:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226553#M895588</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2004-03-23T04:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226554#M895589</link>
      <description>Just a quick explanation of what it is.&lt;BR /&gt; &lt;BR /&gt;All programs that run on a computer end up "machine code".  They are conevrted to this either when they are compiled or at run time.  An assembler is a program that allows you to write a program almost in machine code.  It specifies mnemonics for the various instructions the CPU understands and these are basically what the programmer types in.  The upside is it's blindingly quick and it allows fine grained control over all aspects of your machine.  The downsides are it is architecture specific, it takes a lot longer write and it is a nightmare to debug someone elses code.  Also, there aren't so many programmers these days that can write in assembler.</description>
      <pubDate>Tue, 23 Mar 2004 04:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226554#M895589</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-23T04:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226555#M895590</link>
      <description>Thank to  Sanjiv , I followed your link mgtek.com...It has only 2 file when I extracted it , no other help, introduction or example information so it 's difficult to use it.&lt;BR /&gt; After that, I follow Stefan's link but it do not point exactly what I need (assembler for HP-UX). So could you please give me the links in more detail.&lt;BR /&gt; Thanks to all</description>
      <pubDate>Tue, 23 Mar 2004 22:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226555#M895590</guid>
      <dc:creator>Hoang Minh Tuan</dc:creator>
      <dc:date>2004-03-23T22:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226556#M895591</link>
      <description>There is no need of anyt special install&lt;BR /&gt;you can use&lt;BR /&gt;cc the c compiler frontend.&lt;BR /&gt;/usr/ccs/bin/as the assembler.&lt;BR /&gt;The difference will be that cc will use the c preprocessor before assembling.&lt;BR /&gt;&lt;BR /&gt;to make an example:&lt;BR /&gt;xx.c:&lt;BR /&gt;int  foo(){return 1;}&lt;BR /&gt;main(){printf("%d\n",foo());}&lt;BR /&gt;&lt;BR /&gt;generate the assembly xx.s for xx.c&lt;BR /&gt;cc -S xx.c  &lt;BR /&gt;&lt;BR /&gt;then you can assemble xx.s with&lt;BR /&gt;cc xx.s -c&lt;BR /&gt;or&lt;BR /&gt;as xx.s&lt;BR /&gt;&lt;BR /&gt;cc xx.o -o xx&lt;BR /&gt;or&lt;BR /&gt;ld /opt/langtools/lib/crt0.o xx.o -u main -lc  -o xx</description>
      <pubDate>Wed, 24 Mar 2004 04:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226556#M895591</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-03-24T04:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226557#M895592</link>
      <description>Thanks Laurent Menase giving me an practical introduction in detail. I do follow you and it's OK. I give the same way to my program developer. In addition, he ask me to has any way to deassembly or tools(free/trial) to do this (it's very important).&lt;BR /&gt; Hope see your reply soon</description>
      <pubDate>Wed, 24 Mar 2004 21:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226557#M895592</guid>
      <dc:creator>Hoang Minh Tuan</dc:creator>
      <dc:date>2004-03-24T21:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226558#M895593</link>
      <description>Many old flavors of UNIX came with a 'dis' utility for disassembly. To a limited extent, you can disassemble with both adb and gdb but I don't know of a good PA-RISC disassembler that is readily available. &lt;BR /&gt;&lt;BR /&gt;There are very few times now, even for writing device driver code, where an assembler is needed. You can always use the asm directive within C to generate assembly but I literally have not needed to use assembly in almost 10 years. Of course, an assembler is available with either the HP C compiler of the Gnu C compiler. &lt;BR /&gt;&lt;BR /&gt;There are very few legitimate uses for a disassembler these days unless you are trying to reverse engineer someone's code -- which is almost always not a legitimate use.&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Mar 2004 23:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226558#M895593</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-03-24T23:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226559#M895594</link>
      <description>gdb or adb ( or xdb on 10.20).&lt;BR /&gt;&lt;BR /&gt;all are debuggers, but do not find the name of&lt;BR /&gt;a variable which is used for instance I modified my orinal program:&lt;BR /&gt;int titi;&lt;BR /&gt;toto()&lt;BR /&gt;{return titi++; }&lt;BR /&gt;with &lt;BR /&gt;gdb xx&lt;BR /&gt;gdb&amp;gt; disass toto&lt;BR /&gt;0x2828 &lt;TOTO&gt;:  nop&lt;BR /&gt;0x282c &lt;TOTO&gt;:        nop&lt;BR /&gt;0x2830 &lt;TOTO&gt;:        nop&lt;BR /&gt;0x2834 &lt;TOTO&gt;:       addil L'0,%dp,%r1&lt;BR /&gt;0x2838 &lt;TOTO&gt;:       ldw 0x40(%r1),%ret0&lt;BR /&gt;0x283c &lt;TOTO&gt;:       ldo 1(%ret0),%r31&lt;BR /&gt;0x2840 &lt;TOTO&gt;:       addil L'0,%dp,%r1&lt;BR /&gt;0x2844 &lt;TOTO&gt;:       stw %r31,0x40(%r1)&lt;BR /&gt;0x2848 &lt;TOTO&gt;:       copy %ret0,%ret0&lt;BR /&gt;0x284c &lt;TOTO&gt;:       ret &lt;BR /&gt;0x2850 &lt;TOTO&gt;:       nop&lt;BR /&gt;with adb:&lt;BR /&gt;&lt;BR /&gt;echo toto,10?ia| adb xx&lt;BR /&gt;or &lt;BR /&gt;adb xx&lt;BR /&gt;adb&amp;gt;toto,10?ia&lt;BR /&gt;toto:&lt;BR /&gt;toto:           NOP&lt;BR /&gt;toto+4:         NOP&lt;BR /&gt;toto+8:         NOP&lt;BR /&gt;toto+0xC:       ADDIL           L%0x0,r27,r1&lt;BR /&gt;toto+10:        LDW             64(r1),r28&lt;BR /&gt;toto+14:        LDO             1(r28),r31&lt;BR /&gt;toto+18:        ADDIL           L%0x0,r27,r1&lt;BR /&gt;toto+1C:        STW             r31,64(r1)&lt;BR /&gt;toto+20:        COPY            r28,r28&lt;BR /&gt;toto+24:        BVE             (r2)&lt;BR /&gt;toto+28:        NOP&lt;BR /&gt;main:&lt;BR /&gt;main:           NOP&lt;BR /&gt;main+4:         STW             r2,-20(r30)&lt;BR /&gt;main+8:         LDO             64(r30),r30&lt;BR /&gt;main+0xC:       LDIL            L%0x2800,r31&lt;BR /&gt;main+10:        BE,L            0x28(sr4,r31),sr0,r31&lt;BR /&gt;main+14:&lt;BR /&gt;&lt;BR /&gt;titi is at 64(r27)&lt;BR /&gt;toto+0xC:       ADDIL           L%0x0,r27,r1&lt;BR /&gt;toto+10:        LDW             64(r1),r28&lt;BR /&gt;is  addil     LR'titi-$global$,%r27,%r1  &lt;BR /&gt;    LDW     RR'titi-$global$(%r1),%r28 &lt;BR /&gt;r27 always point to $global$&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;&lt;/TOTO&gt;</description>
      <pubDate>Thu, 25 Mar 2004 01:28:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226559#M895594</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-03-25T01:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226560#M895595</link>
      <description>It's very good with the Clay's guide, especial Laurent's.&lt;BR /&gt; As I read the man page, adb/gdb supports only execute(run) files (is it true?), not library files. He need disassembly a library file (???.a file that C using). So do you have another way to do this&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Mar 2004 02:36:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226560#M895595</guid>
      <dc:creator>Hoang Minh Tuan</dc:creator>
      <dc:date>2004-03-25T02:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226561#M895596</link>
      <description>You have gnu  binutil &lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.3.2/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.3.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt; objdump --reloc --disassemble-all xx.o&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Mar 2004 03:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226561#M895596</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-03-25T03:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226562#M895597</link>
      <description>Thank Laurent very much for helping me enthusiastically. I did follow you and it's seem to be OK but my programmer hasn't still completely satisfied because his aim is:&lt;BR /&gt; " I 's a program written by C , compiled in HP-PA1.0 HP-UX11.0 and it links with some library files in SOM (System Object Module) format. Do you have any way to compile this program in Itanium HP-UX 11.23."&lt;BR /&gt; Best regarded</description>
      <pubDate>Sun, 28 Mar 2004 23:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226562#M895597</guid>
      <dc:creator>Hoang Minh Tuan</dc:creator>
      <dc:date>2004-03-28T23:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: assembler developer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226563#M895598</link>
      <description>Hi Hoang,&lt;BR /&gt;&lt;BR /&gt;Do you want to link or compile and link.&lt;BR /&gt;&lt;BR /&gt;Mainly install 11.0 gcc environnement. you will have gas, and gcc.&lt;BR /&gt;&lt;BR /&gt;Else you can try to copy a 11.11 dev environment in a subdir of your 11.23.&lt;BR /&gt;then chroot to that subdir before compilation.</description>
      <pubDate>Tue, 30 Mar 2004 17:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assembler-developer/m-p/3226563#M895598</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-03-30T17:06:05Z</dc:date>
    </item>
  </channel>
</rss>

