This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Language interface template request


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]