   1              		.cpu cortex-m4
   2              		.eabi_attribute 27, 1
   3              		.eabi_attribute 28, 1
   4              		.eabi_attribute 20, 1
   5              		.eabi_attribute 21, 1
   6              		.eabi_attribute 23, 3
   7              		.eabi_attribute 24, 1
   8              		.eabi_attribute 25, 1
   9              		.eabi_attribute 26, 1
  10              		.eabi_attribute 30, 6
  11              		.eabi_attribute 34, 1
  12              		.eabi_attribute 18, 4
  13              		.file	"main.c"
  14              		.text
  15              	.Ltext0:
  16              		.cfi_sections	.debug_frame
  17              		.comm	component_fun,4,4
  18              		.comm	gcRecvLen,2,2
  19              		.comm	gcRecvDCLen,2,2
  20              		.comm	gcRecvBuf,4096,4
  21              		.section	.rodata
  22              		.align	2
  23              	.LC0:
  24 0000 636D70B7 		.ascii	"cmp\267\242\313\315\262\342\312\324\000"
  24      A2CBCDB2 
  24      E2CAD400 
  25              		.align	2
  26              	.LC1:
  27 000c B5C6B5C4 		.ascii	"\265\306\265\304\311\301\313\270\264\316\312\375 mL"
  27      C9C1CBB8 
  27      B4CECAFD 
  27      206D4C
  28 001b 69676874 		.ascii	"ightCount = %d\012\000"
  28      436F756E 
  28      74203D20 
  28      25640A00 
  29 002b 00       		.align	2
  30              	.LC2:
  31 002c 204C4947 		.ascii	" LIGHT_RED:ON--\012\000"
  31      48545F52 
  31      45443A4F 
  31      4E2D2D0A 
  31      00
  32 003d 000000   		.align	2
  33              	.LC3:
  34 0040 204C4947 		.ascii	" LIGHT_RED:OFF--\012\000"
  34      48545F52 
  34      45443A4F 
  34      46462D2D 
  34      0A00
  35              		.text
  36              		.align	1
  37              		.global	main
  38              		.syntax unified
  39              		.thumb
  40              		.thumb_func
  41              		.fpu fpv4-sp-d16
  43              	main:
  44              	.LFB123:
  45              		.file 1 "srcc/main.c"
   1:srcc/main.c   **** //======================================================================
   2:srcc/main.c   **** //文件名称：main.c（应用工程主函数）
   3:srcc/main.c   **** //框架提供：苏大arm技术中心（sumcu.suda.edu.cn）
   4:srcc/main.c   **** //版本更新：2017.08:1.0, 2019.1:A.10
   5:srcc/main.c   **** //功能描述：见本工程的<01_Doc>文件夹下Readme.txt文件
   6:srcc/main.c   **** //======================================================================
   7:srcc/main.c   **** #define GLOBLE_VAR
   8:srcc/main.c   **** #include "includes.h"      //包含总头文件
   9:srcc/main.c   **** //--------------------main.c使用的内部函数声明处-------------------------
  10:srcc/main.c   **** 
  11:srcc/main.c   **** 
  12:srcc/main.c   **** //----------------------------------------------------------------------
  13:srcc/main.c   **** //主函数，一般情况下可以认为程序从此开始运行（实际上有启动过程见书稿）
  14:srcc/main.c   **** int main(void)
  15:srcc/main.c   **** {
  46              		.loc 1 15 0
  47              		.cfi_startproc
  48              		@ args = 0, pretend = 0, frame = 16
  49              		@ frame_needed = 1, uses_anonymous_args = 0
  50 0000 80B5     		push	{r7, lr}
  51              		.cfi_def_cfa_offset 8
  52              		.cfi_offset 7, -8
  53              		.cfi_offset 14, -4
  54 0002 84B0     		sub	sp, sp, #16
  55              		.cfi_def_cfa_offset 24
  56 0004 00AF     		add	r7, sp, #0
  57              		.cfi_def_cfa_register 7
  58              	.LBB6:
  59              	.LBB7:
  60              		.file 2 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch10-ADC-CM
   1:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /**************************************************************************//**
   2:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  * @file     cmsis_gcc.h
   3:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  * @brief    CMSIS Cortex-M Core Function/Instruction Header File
   4:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  * @version  V4.30
   5:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  * @date     20. October 2015
   6:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  ******************************************************************************/
   7:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /* Copyright (c) 2009 - 2015 ARM LIMITED
   8:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
   9:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    All rights reserved.
  10:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    Redistribution and use in source and binary forms, with or without
  11:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    modification, are permitted provided that the following conditions are met:
  12:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    - Redistributions of source code must retain the above copyright
  13:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****      notice, this list of conditions and the following disclaimer.
  14:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    - Redistributions in binary form must reproduce the above copyright
  15:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****      notice, this list of conditions and the following disclaimer in the
  16:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****      documentation and/or other materials provided with the distribution.
  17:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    - Neither the name of ARM nor the names of its contributors may be used
  18:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****      to endorse or promote products derived from this software without
  19:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****      specific prior written permission.
  20:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    *
  21:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  22:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  23:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  24:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
  25:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  26:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  27:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  28:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  29:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  30:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  31:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    POSSIBILITY OF SUCH DAMAGE.
  32:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    ---------------------------------------------------------------------------*/
  33:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  34:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  35:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  36:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #define __CMSIS_GCC_H
  37:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  38:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /* ignore some GCC warnings */
  39:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #if defined ( __GNUC__ )
  40:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic push
  41:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  42:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  43:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  44:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #endif
  45:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  46:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  47:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /* ###########################  Core Function Access  ########################### */
  48:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /** \ingroup  CMSIS_Core_FunctionInterface
  49:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****     \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  50:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   @{
  51:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  */
  52:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  53:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /**
  54:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   \brief   Enable IRQ Interrupts
  55:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  56:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****            Can only be executed in Privileged modes.
  57:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  */
  58:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __enable_irq(void)
  59:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** {
  60:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   __ASM volatile ("cpsie i" : : : "memory");
  61:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** }
  62:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  63:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  64:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /**
  65:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   \brief   Disable IRQ Interrupts
  66:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  67:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   Can only be executed in Privileged modes.
  68:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  */
  69:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __disable_irq(void)
  70:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** {
  71:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   __ASM volatile ("cpsid i" : : : "memory");
  61              		.loc 2 71 0
  62              		.syntax unified
  63              	@ 71 "C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP43
  64 0006 72B6     		cpsid i
  65              	@ 0 "" 2
  66              		.thumb
  67              		.syntax unified
  68              	.LBE7:
  69              	.LBE6:
  16:srcc/main.c   **** //（1.1）声明main函数使用的局部变量
  17:srcc/main.c   **** 	uint32_t mMainLoopCount;  //主循环次数变量
  18:srcc/main.c   **** 	uint8_t  mFlag;           //灯的状态标志
  19:srcc/main.c   **** 	uint32_t mLightCount;     //灯的状态切换次数
  20:srcc/main.c   ****     
  21:srcc/main.c   **** //（1.2）【不变】关总中断
  22:srcc/main.c   **** 	DISABLE_INTERRUPTS;
  23:srcc/main.c   **** 
  24:srcc/main.c   **** //（1.3）给主函数使用的局部变量赋初值
  25:srcc/main.c   ****     mMainLoopCount=0;    //主循环次数变量
  70              		.loc 1 25 0
  71 0008 0023     		movs	r3, #0
  72 000a FB60     		str	r3, [r7, #12]
  26:srcc/main.c   **** 	mFlag='A';           //灯的状态标志
  73              		.loc 1 26 0
  74 000c 4123     		movs	r3, #65
  75 000e FB72     		strb	r3, [r7, #11]
  27:srcc/main.c   **** 	mLightCount=0;       //灯的闪烁次数
  76              		.loc 1 27 0
  77 0010 0023     		movs	r3, #0
  78 0012 7B60     		str	r3, [r7, #4]
  28:srcc/main.c   **** 
  29:srcc/main.c   **** //（1.4）给全局变量赋初值
  30:srcc/main.c   ****    
  31:srcc/main.c   **** //（1.5）用户外设模块初始化
  32:srcc/main.c   **** 	gpio_init(LIGHT_RED,GPIO_OUTPUT,LIGHT_ON);	//初始化蓝灯
  79              		.loc 1 32 0
  80 0014 0122     		movs	r2, #1
  81 0016 0121     		movs	r1, #1
  82 0018 4FF48070 		mov	r0, #256
  83 001c FFF7FEFF 		bl	gpio_init
  33:srcc/main.c   **** 	 //gpio_init(PT4|(3), 1, 0);     //初始化PTD1\
  34:srcc/main.c   **** 	 gpio_init(PT4|(3),GPIO_OUTPUT,LIGHT_ON);	//初始化蓝灯
  35:srcc/main.c   ****     emuart_init(UART_User,115200);
  84              		.loc 1 35 0
  85 0020 4FF4E131 		mov	r1, #115200
  86 0024 0320     		movs	r0, #3
  87 0026 FFF7FEFF 		bl	emuart_init
  36:srcc/main.c   ****    printf("cmp发送测试");
  88              		.loc 1 36 0
  89 002a 1F48     		ldr	r0, .L7
  90 002c FFF7FEFF 		bl	myprintf
  37:srcc/main.c   ****      cmp_init(0,1,7); 	    //初始化CMP0模块，正向通道0，负向通道7
  91              		.loc 1 37 0
  92 0030 0722     		movs	r2, #7
  93 0032 0121     		movs	r1, #1
  94 0034 0020     		movs	r0, #0
  95 0036 FFF7FEFF 		bl	cmp_init
  38:srcc/main.c   **** //（1.6）使能模块中断
  39:srcc/main.c   ****     //uart_enable_re_int(UART_User);
  40:srcc/main.c   ****  
  41:srcc/main.c   **** 
  42:srcc/main.c   ****     cmp_enable_int();	          //使能CMP0中断和串口1作为通信
  96              		.loc 1 42 0
  97 003a FFF7FEFF 		bl	cmp_enable_int
  98              	.LBB8:
  99              	.LBB9:
  60:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP432)-20210417\02_CPU\cmsis_gcc.h **** }
 100              		.loc 2 60 0
 101              		.syntax unified
 102              	@ 60 "C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch10-ADC-CMP\CMP(MSP43
 103 003e 62B6     		cpsie i
 104              	@ 0 "" 2
 105              		.thumb
 106              		.syntax unified
 107              	.L5:
 108              	.LBE9:
 109              	.LBE8:
  43:srcc/main.c   **** //（1.7）【不变】开总中断
  44:srcc/main.c   **** 	ENABLE_INTERRUPTS;
  45:srcc/main.c   ****         
  46:srcc/main.c   **** //（1）======启动部分（结尾）==========================================
  47:srcc/main.c   **** 
  48:srcc/main.c   **** //（2）======主循环部分（开头）========================================
  49:srcc/main.c   **** 	for(;;)   //for(;;)（开头）
  50:srcc/main.c   **** 	{
  51:srcc/main.c   **** //（2.1）主循环次数变量+1
  52:srcc/main.c   ****         mMainLoopCount++;
 110              		.loc 1 52 0
 111 0040 FB68     		ldr	r3, [r7, #12]
 112 0042 0133     		adds	r3, r3, #1
 113 0044 FB60     		str	r3, [r7, #12]
  53:srcc/main.c   **** //（2.2）未达到主循环次数设定值，继续循环
  54:srcc/main.c   **** 		if (mMainLoopCount<=3000000)  continue;
 114              		.loc 1 54 0
 115 0046 FB68     		ldr	r3, [r7, #12]
 116 0048 184A     		ldr	r2, .L7+4
 117 004a 9342     		cmp	r3, r2
 118 004c 29D9     		bls	.L6
  55:srcc/main.c   **** //（2.3）达到主循环次数设定值，执行下列语句，进行灯的亮暗处理
  56:srcc/main.c   ****        
  57:srcc/main.c   **** //（2.3.1）清除循环次数变量
  58:srcc/main.c   ****        mMainLoopCount=0;
 119              		.loc 1 58 0
 120 004e 0023     		movs	r3, #0
 121 0050 FB60     		str	r3, [r7, #12]
  59:srcc/main.c   **** //（2.3.2）如灯状态标志mFlag为'L'，灯的闪烁次数+1并显示，改变灯状态及标志
  60:srcc/main.c   **** 		if (mFlag=='L')                    //判断灯的状态标志
 122              		.loc 1 60 0
 123 0052 FB7A     		ldrb	r3, [r7, #11]	@ zero_extendqisi2
 124 0054 4C2B     		cmp	r3, #76
 125 0056 15D1     		bne	.L4
  61:srcc/main.c   **** 		{
  62:srcc/main.c   **** 			mLightCount++;  
 126              		.loc 1 62 0
 127 0058 7B68     		ldr	r3, [r7, #4]
 128 005a 0133     		adds	r3, r3, #1
 129 005c 7B60     		str	r3, [r7, #4]
  63:srcc/main.c   **** 			printf("灯的闪烁次数 mLightCount = %d\n",mLightCount);
 130              		.loc 1 63 0
 131 005e 7968     		ldr	r1, [r7, #4]
 132 0060 1348     		ldr	r0, .L7+8
 133 0062 FFF7FEFF 		bl	myprintf
  64:srcc/main.c   **** 			mFlag='A';                       //灯的状态标志
 134              		.loc 1 64 0
 135 0066 4123     		movs	r3, #65
 136 0068 FB72     		strb	r3, [r7, #11]
  65:srcc/main.c   **** 			gpio_set(LIGHT_RED,LIGHT_ON);  //灯“亮”
 137              		.loc 1 65 0
 138 006a 0121     		movs	r1, #1
 139 006c 4FF48070 		mov	r0, #256
 140 0070 FFF7FEFF 		bl	gpio_set
  66:srcc/main.c   **** 			printf(" LIGHT_RED:ON--\n");   //串口输出灯的状态
 141              		.loc 1 66 0
 142 0074 0F48     		ldr	r0, .L7+12
 143 0076 FFF7FEFF 		bl	myprintf
  67:srcc/main.c   **** 			gpio_reverse(PT4|(3));        //反转D口1号引脚输出，制造CMP读取变化
 144              		.loc 1 67 0
 145 007a 40F20330 		movw	r0, #771
 146 007e FFF7FEFF 		bl	gpio_reverse
 147 0082 DDE7     		b	.L5
 148              	.L4:
  68:srcc/main.c   **** 		}
  69:srcc/main.c   **** //（2.3.3）如灯状态标志mFlag为'A'，改变灯状态及标志
  70:srcc/main.c   **** 		else
  71:srcc/main.c   **** 		{
  72:srcc/main.c   **** 			mFlag='L';                       //灯的状态标志
 149              		.loc 1 72 0
 150 0084 4C23     		movs	r3, #76
 151 0086 FB72     		strb	r3, [r7, #11]
  73:srcc/main.c   **** 			gpio_set(LIGHT_RED,LIGHT_OFF); //灯“暗”
 152              		.loc 1 73 0
 153 0088 0021     		movs	r1, #0
 154 008a 4FF48070 		mov	r0, #256
 155 008e FFF7FEFF 		bl	gpio_set
  74:srcc/main.c   **** 			printf(" LIGHT_RED:OFF--\n");  //串口输出灯的状态
 156              		.loc 1 74 0
 157 0092 0948     		ldr	r0, .L7+16
 158 0094 FFF7FEFF 		bl	myprintf
  75:srcc/main.c   **** 			gpio_reverse(PT4|(3));        //反转D口1号引脚输出，制造CMP读取变化
 159              		.loc 1 75 0
 160 0098 40F20330 		movw	r0, #771
 161 009c FFF7FEFF 		bl	gpio_reverse
 162 00a0 CEE7     		b	.L5
 163              	.L6:
  54:srcc/main.c   **** //（2.3）达到主循环次数设定值，执行下列语句，进行灯的亮暗处理
 164              		.loc 1 54 0
 165 00a2 00BF     		nop
  52:srcc/main.c   **** //（2.2）未达到主循环次数设定值，继续循环
 166              		.loc 1 52 0
 167 00a4 CCE7     		b	.L5
 168              	.L8:
 169 00a6 00BF     		.align	2
 170              	.L7:
 171 00a8 00000000 		.word	.LC0
 172 00ac C0C62D00 		.word	3000000
 173 00b0 0C000000 		.word	.LC1
 174 00b4 2C000000 		.word	.LC2
 175 00b8 40000000 		.word	.LC3
 176              		.cfi_endproc
 177              	.LFE123:
 179              	.Letext0:
 180              		.file 3 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
 181              		.file 4 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
 182              		.file 5 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch10-ADC-CM
 183              		.file 6 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch10-ADC-CM
 184              		.file 7 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch10-ADC-CM
 185              		.file 8 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\lock.h"
 186              		.file 9 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\_types.h"
 187              		.file 10 "d:\\ahl-gec-ide(4.20)\\gcc\\lib\\gcc\\arm-none-eabi\\7.2.1\\include\\stddef.h"
 188              		.file 11 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\reent.h"
 189              		.file 12 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch10-ADC-C
 190              		.file 13 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch10-ADC-C
DEFINED SYMBOLS
                            *ABS*:00000000 main.c
                            *COM*:00000004 component_fun
                            *COM*:00000002 gcRecvLen
                            *COM*:00000002 gcRecvDCLen
                            *COM*:00001000 gcRecvBuf
C:\Users\lenovo\AppData\Local\Temp\cciM2vhx.s:22     .rodata:00000000 $d
C:\Users\lenovo\AppData\Local\Temp\cciM2vhx.s:36     .text:00000000 $t
C:\Users\lenovo\AppData\Local\Temp\cciM2vhx.s:43     .text:00000000 main
C:\Users\lenovo\AppData\Local\Temp\cciM2vhx.s:171    .text:000000a8 $d

UNDEFINED SYMBOLS
gpio_init
emuart_init
myprintf
cmp_init
cmp_enable_int
gpio_set
gpio_reverse
