In article <4433ED7D.20109 at DakotaCom.Net>,
Don Y <dgy at dakotacom.net> writes:
[...] You just *know* that if you were writing it in
ASM, the carry would be there "for free". Yet, you have
to add a separate step to deliberately synthesize it in C
In defense of C, its approach to this problem is to allow you to link
against a chunk of assembly code that implements any function for
which its cumbersome to implement it in C because of low-level
bit fiddling, or whatever. Most, if not all, compilers also have
provisions for inline assembly in the C source code.
So C really does provide solutions for this problem. Its not like
Pascal where you're *forced* to do things the stupid way. C lets you
use assembly where needed.
--
"The Direct3D Graphics Pipeline"-- code samples, sample chapter, FAQ:
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>