public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Language interface template request
@ 2011-02-08 15:06 wynfield
  2011-02-08 16:57 ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: wynfield @ 2011-02-08 15:06 UTC (permalink / raw)
  To: cygwin


I want to write a small assembly language routine to do some heavy bit slogging and
interface it to a C language program.

Does anybody have any templates to show how this should be done.

Stack control & variable definitions for linking.


Thanks

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Language interface template request
  2011-02-08 15:06 Language interface template request wynfield
@ 2011-02-08 16:57 ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2011-02-08 16:57 UTC (permalink / raw)
  To: cygwin

On Wed, Feb 09, 2011 at 12:06:07AM +0900, wynfield@gmail.com wrote:
>I want to write a small assembly language routine to do some heavy bit
>slogging and interface it to a C language program.
>
>Does anybody have any templates to show how this should be done.
>
>Stack control & variable definitions for linking.

This is hardly a cygwin-specific request.  You'll undoubtedly have
better luck in some other forum or, more likely, with some google
searching.

As a hint, I'd suggest just disassembling an existing program with gdb
or objdump --disassemble and taking hints from there.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-08 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 15:06 Language interface template request wynfield
2011-02-08 16:57 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).