clibxxexit.s43

来自「德州仪器(TI) 的超低功耗16 位RISC 混合信号处理器的MSP430 平台」· S43 代码 · 共 46 行

S43
46
字号
/**************************************************
 *
 * System halt function for the IAR CLIB libraray.
 *
 * Copyright 2002-2004 IAR Systems. All rights reserved.
 *
 * $Revision: 1.1 $
 *
 **************************************************/

#include "macros.m43"
#include "cfi.m43"

#define XRSEGCSTART RSEG CSTART:CODE:NOROOT(1)

        XCFI_NAMES libNames
        XCFI_COMMON libCommon, libNames

// ---------------------------------------------------------
// __exit -- Low level application halt.
//
// The ?C_EXIT label is recognized by the C-Spy debugger.  When the
// execution reaches it the debugger stops the application.
//

        MODULE  ?__exit

        PUBLIC  __exit
        PUBLIC  ?C_EXIT

        XRSEGCSTART


        CFI     Block ?__exit using libCommon
        CFI     Function __exit

__exit:
?C_EXIT:
        JMP     $

        CFI     EndBlock ?__exit

        ENDMOD

        END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?