C Compilers: which one?
24-Jul-89 17:47:23
Sb: #58573-C Compilers: which one?
Fm: Richard Rae/SYSOP 76703,4253
To: John Draper 76703,4322
I must be missing something here. You're talking about this one:
somefunc()
{
#asm
neded code goes here
#endasm
C code goes here
#asm
more needed code
#endasm
}
… yes? I don't follow what's going one here. You've a module which STARTS
with assembly code, ENDS with assembly code, and then has C source in the
middle? I agree with Ben: that's bad form. It really looks like it wants to
be an assembler module, but I can't tell because I don't know how big the
relative sizes of the three chunks are.
Anyway, if you're interested, the way I'd suggest handling it would be as
follows: if the C code is the majority of the bulk, do:
somefunc()
<continued>