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.

TMS570LS3137: What is difference between "System Mode" and "Supervisor Mode" in the TMS570LS3137

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN,

The First file sys_core_bootloader.asm is from the boot loader provided by TI and second file sys_core_application.asm attached is from HALCOgen .

What is difference between "System Mode" and "Supervisor Mode" in the TMS570LS3137 , I have not seen any documentation on this in the Reference Manual . 

; Switch to System Mode ( Shares User Mode registers ) (M = 11111)
cps #31
mov lr, r0
mrs r1,cpsr
msr spsr_cxsf, r1

; Switch back to Supervisor Mode (M = 10011)3441.sys_core_bootloader.asm6165.sys_core_application.asm
cps #19

  • Hell Chandre,

    System mode is a privileged user mode for the operating system. Modes other than User mode are collectively known as Privileged modes.

    Supervisor mode is a protected mode for the operating system and is entered on taking a Supervisor Call (SVC), formerly SWI.