Talk About Network

Google





Mac > Mac Programmer Tools > Re: (Assemblly ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 20 of 22 Topic 616 of 637
Post > Topic >>

Re: (Assemblly language) newbie wants to ****t Atari 68k to 'C'

by Sherman Pendley <spamtrap@[EMAIL PROTECTED] > May 9, 2008 at 05:25 PM

Robert Spykerman <robert.spykerman@[EMAIL PROTECTED]
> writes:

> The one thing you
> probably won't find a lot on is how to write and link asm code on OS X
> to c libs

If you want to see what the ABI looks like in asm, you could have a look
at the source for libffi, which is included with the gcc source. That's
its job - you create a set of structures that describe a function's args
and return value, and pass them along with a pointer to the function
itself to a function in libffi. That function sets up the required stack
frame and makes the function call.

Apple also publishes their ABI details here:

   
<http://developer.apple.com/do***entation/DeveloperTools/Conceptual/LowLevelABI/Introduction.html>

Or tinyURLd: <http://preview.tinyurl.com/s7f85>

sherm--

-- 
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
 




 22 Posts in Topic:
Newbie
denis <dtheman@[EMAIL   2008-03-03 00:54:50 
Re: Newbie
Andrew <thecroft@[EMAI  2008-03-03 18:51:58 
Re: Newbie
denis <dtheman@[EMAIL   2008-03-03 21:16:13 
Re: Newbie
Gregory Weston <uce@[E  2008-03-04 11:20:23 
Re: Newbie
Andrew <thecroft@[EMAI  2008-03-04 15:42:33 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Robert Spykerman <robe  2008-05-09 23:02:06 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Sherman Pendley <spamt  2008-05-10 13:37:57 
Re: Newbie
rodmc <userprogoogle-1  2008-03-06 11:41:18 
(Assemblly language) newbie wants to port Atari 68k to 'C'
Beta Zero <beta_zero@[  2008-05-07 17:56:36 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
David Phillip Oster <o  2008-05-07 23:11:20 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Gregory Weston <uce@[E  2008-05-08 11:41:57 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Robert Spykerman <robe  2008-05-11 01:31:12 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Sherman Pendley <spamt  2008-05-11 15:43:26 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Beta Zero <beta_zero@[  2008-05-08 17:25:49 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
glenn andreas <gandrea  2008-05-09 11:24:28 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Jolly Roger <jollyroge  2008-05-09 17:24:59 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Beta Zero <beta_zero@[  2008-05-11 01:31:05 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Paul Russell <prussell  2008-05-11 16:41:23 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Robert Spykerman <robe  2008-05-09 02:43:34 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Sherman Pendley <spamt  2008-05-09 17:25:07 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Beta Zero <beta_zero@[  2008-05-12 01:08:38 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Paul Russell <prussell  2008-05-12 08:25:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 22:55:04 PST 2009.