ARM Thumb interworking in inline assembly __asm
hello,
i'm having problem with compiling inline assembly code.
The error is as below
"Error: selected processor does not support Thumb mode `mrc p15,0,r3,c1,c0,0'"
the code snippet is
__asm volatile("mrc p15,0,r3,c1,c0,0");
i'm compiling the C file in thumb mode with (-mthumb)
i have tried using the attribute to switch to ARM mode( "__attribute_
error log :
C:\Users\
C:\Users\
C:\Users\
C:\Users\
C:\Users\
-Thanks,
Prasanth Subramani
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Prasanth Subramani
- Solved:
- Last query:
- Last reply: