📄 _csl_begincriticalsection.asm
字号:
;/* ==========================================================
; * Copyright (c) Texas Instruments Inc 2004, 2005
; *
; * Use of this software is controlled by the terms and conditions found
; * in the license agreement under which this software has been supplied
; * priovided
; * ==========================================================
; */
;****************************************************************************
;* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -