At 08:56 AM 12/2/2004, you wrote:
Hi I am not able to understand this code can somebody explain this to me
static inline void __SetA5__(UInt32 newValue) { asm { MOVE.L newValue, A5 // set new value } }
In this code I am getting a error like this tarter.cpp: In function `void __SetA4__(long unsigned int)': Starter.cpp:78: parse error before `{'
This is 68K inline assembly code designed for CodeWarrior for Palm OS. Inline assembly is specified using a different syntax in the GCC-based PRC-Tools compiler used by Palm OS Developer Suite. For details on inline assembly, see the online GCC manual at http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc.html
-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
