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
mixing C and assembler
RE:mixing C and assembler
Did you read the warning in the guide on this site that makes it work under Linux?