mixing C and assembler

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
john

mixing C and assembler

Post by john »

can anybody please show me an running example code of calling a function written in assembler from a C program, and all this under Linux with the nasm assembler?
I've tested some examples found in the Internet but I didn't got one running (including the one from this site). I always got the error:
   # file not recognized: File format not recognized

what's wrong???

Thank's for help
Chase

RE:mixing C and assembler

Post by Chase »

Did you read the warning in the guide on this site that makes it work under Linux?
Post Reply