Language interface template request

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Tue Feb 8 16:57:00 GMT 2011


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



More information about the Cygwin mailing list