AnsweredAssumed Answered

Clear Thumb bit in xPSR of K60N512 ( Cortex M4 )

Question asked by Thomas Forck on Nov 22, 2011
Latest reply on Nov 23, 2011 by Thomas Forck

i have to write a little Assembler for the K60N512 which
runs on the processor. For that I have to clear the Thumb Bit in
the xPSR (EPSR) Register. I only want to use 32-bit ARM-Instructions
I can read the Register with MRS ro, xpsr    but I cant
clear the Bit.


How can I swich from Thumb to 32-bit Instruction Mode and reverse?


Hope someone can help