This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Change between thumb and arm state in C Code

I am trying to run some old code from Insiders Guide written in 2004. The code contained
__arm and __thumb inside the functions to indicate to the compiler the function types either
arm or thumb. After some searching I removed the __arm and __thumb from the functions and
tried to put before the functions #pragma arm and #pragma thumb before the functions.

These changes cause different errors by the compiler. Stating that the symbols are now
obsolete. How do I handle thumb and arm interworking in C Code.

Thanks for the help