Hi! > for what it is worth, our code is 70% C, 30% assembly :) on average. > i doubt we'd want to mess with C++ and assembly directly *g* > So far I have not seen any difference between C/Asm and C++/Asm.
A good example of C++/ASM for both GCC and CodeWarrior can be found at: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/razor-engine/Razor/Src/Direct8bppBlitter.cpp?rev=1.7&content-type=text/vnd.viewcvs-markup My assembly code looks different than that in Cube3D, but that is only a question of personal style, and has nothing to do with C vs C++. I am using a single asm statement for the entire code. This makes debugging harder b/c of problems with breakpoints, but allows GCC to make more choices wrt automatic register allocation. I am also using "a" and "r" instead of "g", to prevent GCC from making inadequate choices for argument substitution. Cheers, Tilo -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
