[newbie] Re: compile asm in C

2004-03-10 Thread Björn Lundin
Chungwei Hsiung wrote: Hello guys I have a question. I've seen things like that being done on some articles, but somehow it doesn't work on my machine. If you know how to solve this problem, please let me know. I really appreciate it. I would like to know how to compile a C file when there

Re: [newbie] Re: compile asm in C

2004-03-10 Thread Chungwei Hsiung
Thanks for the reply. I really appreciate it. My story is a little bit different.. I just copy the codes you modified to a file and I compile it. I have the following error message that I had before. Any other thoughts?? $cat asmExit.c void main() { __asm__( mov $0x0, %ebx mov