This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

clear CPSR.I flag using TMS470 inbuilt function



Hi,

I am using TMS470 to compile an executable for A15. I have used inbuilt function _enable_IRQ() to clear the CPSR.i flag. 

However, in the disassembly, I can see

MSR CPSR_cf, R0

And this is not modifying the IRQ flag.

Also, the code executes in USR mode.

What might be the issue?