CompuServe Messages

C Compilers: which one?

    26-Jul-89 20:21:07
Fm: John Draper 76703,4322
To: Richard Rae/SYSOP 76703,4253
Rick, It isn't so much that the piece of code has to be written in C, but that if the function is large enough, and easily understandable in C, then it is probably desirable to code it in C. The particular example I had in mind (beepit), used 30 lines of C code (not compacted, but spaced out for readability), which translates into about 80 lines of asm code as generated by the compiler, which is far less obvious in meaning than the C code, and would be to anyone but an asm programmer even if written by a human. In this case, the #asm consists of 2 lines whose meanings are quite obvious. Let me know if you come up with anything. I spent an hour or so messing with it again, without being able to recode it, and will try again. -larry