On 03/11/2014 03:10 AM, Vsevolod Alekseyev wrote:
  I've tried several assembly sequences that would branch and switch
mode; they all would cause an exception.
Supposedly the interrupt code of the OS does not save and restore the "running in Thumb mode" flag. So you are out of luck with non-Thumb code.

This is obviously a shortcoming due to the arrogance of the creator of the OS, thoughtlessly castrating the high-performance feature of the processor.

This strictly recommends not to use this OS.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to