Read-only archive of the All About Symbian forum (2001–2013) · About this archive

inline assembly code

1 replies · 1,683 views · Started 27 November 2003

I am using Codewarrior Development Studio for Symbian OS Personal Edition v2.0.

I am trying to put some inline assembly code into my C++ application. But failed to compile.

Please can anyone help?

Make a function with following prototype
__NAKED__ <return-type> functionname()
{

//assembly stuffs
}

call this function from you c++ code.