#"Good" Code
Marcus,
Naw, I don't agree. I learned in machine code (hex code, not asm)
switched to asm and am now using C. If I'm feeling lazy, I'll generally
code things in asm, since I KNOW what is going to be generated. This is
certainly the case when I need to bang bits, it codes faster and runs
faster.
I agree with Ben, if you are going to use asm in a C program, break it
out into a seperate module and make a function call to it. It's simple
enough to do, and keeps me, at least, from having to switch mental gears in
mid stream. I'm also leary of what happens to inline asm when compiler
revisions change. Assumptions can kill ya.
Dean
DKB Software