CompuServe Messages

#"Good" Code

    04-May-90 22:30:08
Sb: #102146-#"Good" Code
Fm: Dean Brown 72250,2677
To: Marcus Mullins 75706,325
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