_csl_begincriticalsection.asm
来自「TI的DM6446的硬件平台搭建的相关例子」· 汇编 代码 · 共 35 行
ASM
35 行
;****************************************************************************
;* E X P O R T E D F U N C T I O N S
;****************************************************************************
.global __CSL_beginCriticalSection
;****************************************************************************
;* P A S S - T H R U C O D E
;****************************************************************************
.text
;****************************************************************************
;* P U B L I C F U N C T I O N S
;****************************************************************************
;****************************************************************************
;*
;* void _CSL_beginCriticalSection (
;* void
;* )
;****************************************************************************
_CSL_SGIE_MASK .equ 0x00000002
__CSL_beginCriticalSection:
bnop b3,2
dint
mvc tsr, b0
and _CSL_SGIE_MASK, b0, a4
****************************************************************************
* End of _CSL_beginCriticalSection.asm
****************************************************************************
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?