>> We regularily win with compiled C against hand written assembler. The >> difference is the compiler doesn't foprget a programmers trick. >> >> Walter Banks >Yes, but after looking at your output and remembering the trick I can >write assembler code that will at least tie it and probably beat it. >(After all, I know more info than the compiler.) > Never ending C vs. assembler battle... Despite of all the counter-examples anyone has or will post, I agree with following text (found at the Fast Forward Engineering answer page) 5a. An excellent C compiler can generate better code than an excellent assembly-language programmer, because the compiler can safely generate incomprehensible, non-maintainable, "brittle" code that the programmer wouldn't dare write. 5b. An excellent assembly-language programmer can write better code than an excellent C compiler, because the programmer can see a much larger picture of the problem than the compiler can. And maybe one more point - if any of the two languages was better in all cases, then how would you explain, that the other one still survives ? Regards Josef