Re: Mac OS X / FreeBSD ASM Resources



On May 13, 2:51 pm, Cromulent <spamt...@xxxxxxxxxx> wrote:
I'm having trouble locating documentation (preferably a book) for x86
(or x86_64) assembly programming on the Mac. I'm new to assembly and
thus don't have the knowledge to transfer over what I read in Windows
based texts to the Mac OS X / FreeBSD assembly syntax.

Does anyone know any good books that will help me on my way? ASM does
not seem particularly well documented on Unix systems (I guess given
the historical relience on C).

Any information is appreciated.

Visit http://webster.cs.ucr.edu and check out "The Art of Assembly
Language" and the HLA assembler.
I've just posted the Mac OSX version of HLA to Webster. If you read
the Linux version of "Art of Assembly" and mentally translate "Linux"
to "Mac OSX" you'll be in business. The HLA stdlib insulates you from
the particulars of the low-level OS APIs, to a great extent. Though I
don't have the full BSD Personality coded into the HLA stdlib right
now, if you've got knowledge of FreeBSD calls, you should be able to
make just about *any* BSD-style call under Mac OSX by simply looking
at how I did it in the HLA stdlib.
hLater,
Randy Hyde

.



Relevant Pages

  • Re: macro assembler for z80
    ... You have a MAC file for CP/M 2.2. ... assembled with Microsoft's M80 relocatable macro assembler. ... command line options. ...
    (comp.os.cpm)
  • Re: A realistic price comparison
    ... >>> The mac advocates firmly believe that the Mac that isn't ... >> assembler would be paid above the national average for his work, ... Now start acting like a real Mac advocate instead ... >> honest heart is a dishonest person himself, ...
    (comp.sys.mac.advocacy)
  • Re: [OT] On `ad hominem - OS X users
    ... Perl on the latest Mac OS X ... But GP/Pari uses assembler by default, ... one can still only build for a single architecture at a time. ... than config time, and it's made correctly for each of the multiple ...
    (comp.lang.perl.modules)
  • Re: Programming PowerPC on Mac
    ... >> I do know that the later Mac OS development kits include the Gas ... >> assembler provided with Code Warrior is probably quite a bit better ... >> Also, if you've never looked at PowerPC code before, be prepared to ... >> be amazed at how many instructions it takes to do simple little tasks. ...
    (alt.lang.asm)