We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi
There are some instances when you need to call ARM Instructions in C Code.
Best way is to use __asm {
}
.
This is good when no issue is there. But some times, you get some error
errot #1113 arm: inline assembler not permitted when generating thumb code
The cause is due to compiler issues , But if you dont want to modify the compiler settings any solution for above problem ?
Which compiler are you using?
Is you are using ARM's compiler (armcc) there are restrictions on which instruction sets it can handle. See:
ARM Compiler armcc User Guide : 7.3 Restrictions on inline assembler support in the compiler