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:TMS570LS3137中"系统模式"和"主管模式"之间有何区别

Guru**** 2587365 points
Other Parts Discussed in Thread: HALCOGEN, TMS570LS3137

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/778518/tms570ls3137-what-is-difference-between-system-mode-and-supervisor-mode-in-the-tms570ls3137

器件型号:TMS570LS3137
主题中讨论的其他器件:HALCOGEN

第一个文件 sys_core_bootloader.asm 来自 TI 提供的引导加载程序,第二个文件 sys_core_application.asm 来自 HALCOgen。

TMS570LS3137中“系统模式”和“监控器模式”之间的区别是什么,我在参考手册中没有看到有关这方面的任何文档。  

;切换到系统模式(共享用户模式寄存器)(M = 11111)
CPS #31
MOV LR、r0
R1女士、CPSR
MSR spsr_cxsf、R1

;切换回 Supervisor 模式(M=10011)e2e.ti.com/.../3441.sys_5F00_core_5F00_bootloader.asme2e.ti.com/.../6165.sys_5F00_core_5F00_application.asm
CPS #19

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    海尔·Chandre、

    系统模式是操作系统的特权用户模式。 用户模式以外的模式统称为特权模式。

    监控器模式是操作系统的受保护模式、可在进行监控器呼叫(SVC)时进入、前身为 SWI。