Professional Web Applications Themes

Differences between AIX powerPC assembly and OS X assembly? - Mac Programming

Hi, com (incognito) writes:  On Mac OS X you are using the GNU assembler. I have never worked with it myself, but your code doesn't look like the syntax I have seen for that assembler. Maybe your assembler experts should check the manual for the differences. benny...

  1. #1

    Default Re: Differences between AIX powerPC assembly and OS X assembly?

    Hi,

    com (incognito) writes: 

    On Mac OS X you are using the GNU assembler. I have never worked with
    it myself, but your code doesn't look like the syntax I have seen for
    that assembler. Maybe your assembler experts should check the manual
    for the differences.

    benny
    Benjamin Guest

  2. #2

    Default Re: Differences between AIX powerPC assembly and OS X assembly?

    I just woke-up to the fact that the '.s' file is probably wrapped in
    such a way that the pop-11 compiler refers to assembly modules in the
    source so that it can produce a compiled binary for interpreted
    source. In that sense, it is normal that the '.s' file didn't compile.

    I'd still like the confirmation that PowerPC assembly is the same as
    what 'OS X' requires.
    incognito Guest

  3. #3

    Default Re: Differences between AIX powerPC assembly and OS X assembly?

    incognito wrote:
     

    Yes and no. Yes, PowerPC assembly is what you need for Mac OS X, but
    unfortuantely there is no "standard" syntax for asm - even different
    versions of the gcc tools require somewhat different syntax for asm
    source. You have little choice but to study the doentation for both
    the new and the old assembler, make a note of all the important
    differences, and then modify the source appropriately, either by hand or
    perhaps by writing some kind of tool (I generally use Perl for this kind
    of task as many changes can be made with just a simple regular expression).

    Paul
    Paul Guest

  4. #4

    Default Re: Differences between AIX powerPC assembly and OS X assembly?

    > What is the fundamental that I am missing? Your guidance is welcome.

    Assembly is not portable between compilers. I have no idea what AIX
    used as an assembler, but you can view the docs for Apple's assembler
    (part of gcc) at: http://developer.apple.com/doentation/DeveloperTools/Reference/Assembler/index.html

    Michael
    Michael Guest

Similar Threads

  1. Replies: 0
    Last Post: May 4th, 02:35 PM
  2. .NET Assembly permissions
    By Nick Goloborodko in forum ASP.NET Security
    Replies: 1
    Last Post: February 21st, 02:34 AM
  3. Replies: 2
    Last Post: May 16th, 08:35 PM
  4. GAC assembly with ASP.NET
    By Kevin Spencer in forum ASP.NET General
    Replies: 1
    Last Post: July 1st, 01:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139