   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 55415254 		.ascii	"UARTA\267\242\313\315\262\342\312\324\243\241\243\241"
  24      41B7A2CB 
  24      CDB2E2CA 
  24      D4A3A1A3 
  24      A1
  25 0011 A3A10A00 		.ascii	"\243\241\012\000"
  26 0015 000000   		.align	2
  27              	.LC1:
  28 0018 B5C6B5C4 		.ascii	"\265\306\265\304\311\301\313\270\264\316\312\375 mL"
  28      C9C1CBB8 
  28      B4CECAFD 
  28      206D4C
  29 0027 69676874 		.ascii	"ightCount = %d\012\000"
  29      436F756E 
  29      74203D20 
  29      25640A00 
  30 0037 00       		.align	2
  31              	.LC2:
  32 0038 204C4947 		.ascii	" LIGHT_RED:ON--\012\000"
  32      48545F52 
  32      45443A4F 
  32      4E2D2D0A 
  32      00
  33 0049 000000   		.align	2
  34              	.LC3:
  35 004c 204C4947 		.ascii	" LIGHT_RED:OFF--\012\000"
  35      48545F52 
  35      45443A4F 
  35      46462D2D 
  35      0A00
  36              		.text
  37              		.align	1
  38              		.global	main
  39              		.syntax unified
  40              		.thumb
  41              		.thumb_func
  42              		.fpu fpv4-sp-d16
  44              	main:
  45              	.LFB123:
  46              		.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   **** {
  47              		.loc 1 15 0
  48              		.cfi_startproc
  49              		@ args = 0, pretend = 0, frame = 16
  50              		@ frame_needed = 1, uses_anonymous_args = 0
  51 0000 80B5     		push	{r7, lr}
  52              		.cfi_def_cfa_offset 8
  53              		.cfi_offset 7, -8
  54              		.cfi_offset 14, -4
  55 0002 84B0     		sub	sp, sp, #16
  56              		.cfi_def_cfa_offset 24
  57 0004 00AF     		add	r7, sp, #0
  58              		.cfi_def_cfa_register 7
  59              	.LBB6:
  60              	.LBB7:
  61              		.file 2 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH06-UART\\
   1:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** /**************************************************************************//**
   2:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****  * @file     cmsis_gcc.h
   3:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****  * @version  V4.30
   5:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****  * @date     20. October 2015
   6:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****  ******************************************************************************/
   7:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** /* Copyright (c) 2009 - 2015 ARM LIMITED
   8:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
   9:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****    All rights reserved.
  10:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****      specific prior written permission.
  20:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****    *
  21:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****    POSSIBILITY OF SUCH DAMAGE.
  32:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****    ---------------------------------------------------------------------------*/
  33:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
  34:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
  35:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  36:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** #define __CMSIS_GCC_H
  37:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
  38:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** /* ignore some GCC warnings */
  39:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** #if defined ( __GNUC__ )
  40:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic push
  41:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  42:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  43:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  44:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** #endif
  45:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
  46:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
  47:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** /* ###########################  Core Function Access  ########################### */
  48:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** /** \ingroup  CMSIS_Core_FunctionInterface
  49:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****   @{
  51:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****  */
  52:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
  53:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** /**
  54:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****   \brief   Enable IRQ Interrupts
  55:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****            Can only be executed in Privileged modes.
  57:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****  */
  58:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** {
  60:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****   __ASM volatile ("cpsie i" : : : "memory");
  61:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** }
  62:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
  63:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** 
  64:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** /**
  65:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****   \brief   Disable IRQ Interrupts
  66:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****   Can only be executed in Privileged modes.
  68:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****  */
  69:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\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\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** {
  71:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h ****   __ASM volatile ("cpsid i" : : : "memory");
  62              		.loc 2 71 0
  63              		.syntax unified
  64              	@ 71 "C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)
  65 0006 72B6     		cpsid i
  66              	@ 0 "" 2
  67              		.thumb
  68              		.syntax unified
  69              	.LBE7:
  70              	.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;    //主循环次数变量
  71              		.loc 1 25 0
  72 0008 0023     		movs	r3, #0
  73 000a FB60     		str	r3, [r7, #12]
  26:srcc/main.c   **** 	mFlag='A';           //灯的状态标志
  74              		.loc 1 26 0
  75 000c 4123     		movs	r3, #65
  76 000e FB72     		strb	r3, [r7, #11]
  27:srcc/main.c   **** 	mLightCount=0;       //灯的闪烁次数
  77              		.loc 1 27 0
  78 0010 0023     		movs	r3, #0
  79 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);	//初始化蓝灯
  80              		.loc 1 32 0
  81 0014 0122     		movs	r2, #1
  82 0016 0121     		movs	r1, #1
  83 0018 4FF48070 		mov	r0, #256
  84 001c FFF7FEFF 		bl	gpio_init
  33:srcc/main.c   ****     emuart_init(UART_User,115200);
  85              		.loc 1 33 0
  86 0020 4FF4E131 		mov	r1, #115200
  87 0024 0320     		movs	r0, #3
  88 0026 FFF7FEFF 		bl	emuart_init
  34:srcc/main.c   ****     uart_send_string(115200,"UARTA发送测试！！！\n");
  89              		.loc 1 34 0
  90 002a 1849     		ldr	r1, .L7
  91 002c 0020     		movs	r0, #0
  92 002e FFF7FEFF 		bl	uart_send_string
  93              	.LBB8:
  94              	.LBB9:
  60:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)-20210410\02_CPU\cmsis_gcc.h **** }
  95              		.loc 2 60 0
  96              		.syntax unified
  97              	@ 60 "C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH06-UART\UART(MSP432)
  98 0032 62B6     		cpsie i
  99              	@ 0 "" 2
 100              		.thumb
 101              		.syntax unified
 102              	.L5:
 103              	.LBE9:
 104              	.LBE8:
  35:srcc/main.c   **** //（1.6）使能模块中断
  36:srcc/main.c   ****     //uart_enable_re_int(UART_User);
  37:srcc/main.c   ****    
  38:srcc/main.c   **** //（1.7）【不变】开总中断
  39:srcc/main.c   **** 	ENABLE_INTERRUPTS;
  40:srcc/main.c   ****         
  41:srcc/main.c   **** //（1）======启动部分（结尾）==========================================
  42:srcc/main.c   **** 
  43:srcc/main.c   **** //（2）======主循环部分（开头）========================================
  44:srcc/main.c   **** 	for(;;)   //for(;;)（开头）
  45:srcc/main.c   **** 	{
  46:srcc/main.c   **** //（2.1）主循环次数变量+1
  47:srcc/main.c   ****         mMainLoopCount++;
 105              		.loc 1 47 0
 106 0034 FB68     		ldr	r3, [r7, #12]
 107 0036 0133     		adds	r3, r3, #1
 108 0038 FB60     		str	r3, [r7, #12]
  48:srcc/main.c   **** //（2.2）未达到主循环次数设定值，继续循环
  49:srcc/main.c   **** 		if (mMainLoopCount<=3000000)  continue;
 109              		.loc 1 49 0
 110 003a FB68     		ldr	r3, [r7, #12]
 111 003c 144A     		ldr	r2, .L7+4
 112 003e 9342     		cmp	r3, r2
 113 0040 21D9     		bls	.L6
  50:srcc/main.c   **** //（2.3）达到主循环次数设定值，执行下列语句，进行灯的亮暗处理
  51:srcc/main.c   ****        
  52:srcc/main.c   **** //（2.3.1）清除循环次数变量
  53:srcc/main.c   ****        mMainLoopCount=0;
 114              		.loc 1 53 0
 115 0042 0023     		movs	r3, #0
 116 0044 FB60     		str	r3, [r7, #12]
  54:srcc/main.c   **** //（2.3.2）如灯状态标志mFlag为'L'，灯的闪烁次数+1并显示，改变灯状态及标志
  55:srcc/main.c   **** 		if (mFlag=='L')                    //判断灯的状态标志
 117              		.loc 1 55 0
 118 0046 FB7A     		ldrb	r3, [r7, #11]	@ zero_extendqisi2
 119 0048 4C2B     		cmp	r3, #76
 120 004a 11D1     		bne	.L4
  56:srcc/main.c   **** 		{
  57:srcc/main.c   **** 			mLightCount++;  
 121              		.loc 1 57 0
 122 004c 7B68     		ldr	r3, [r7, #4]
 123 004e 0133     		adds	r3, r3, #1
 124 0050 7B60     		str	r3, [r7, #4]
  58:srcc/main.c   **** 			printf("灯的闪烁次数 mLightCount = %d\n",mLightCount);
 125              		.loc 1 58 0
 126 0052 7968     		ldr	r1, [r7, #4]
 127 0054 0F48     		ldr	r0, .L7+8
 128 0056 FFF7FEFF 		bl	myprintf
  59:srcc/main.c   **** 			mFlag='A';                       //灯的状态标志
 129              		.loc 1 59 0
 130 005a 4123     		movs	r3, #65
 131 005c FB72     		strb	r3, [r7, #11]
  60:srcc/main.c   **** 			gpio_set(LIGHT_RED,LIGHT_ON);  //灯“亮”
 132              		.loc 1 60 0
 133 005e 0121     		movs	r1, #1
 134 0060 4FF48070 		mov	r0, #256
 135 0064 FFF7FEFF 		bl	gpio_set
  61:srcc/main.c   **** 			printf(" LIGHT_RED:ON--\n");   //串口输出灯的状态
 136              		.loc 1 61 0
 137 0068 0B48     		ldr	r0, .L7+12
 138 006a FFF7FEFF 		bl	myprintf
 139 006e E1E7     		b	.L5
 140              	.L4:
  62:srcc/main.c   **** 		}
  63:srcc/main.c   **** //（2.3.3）如灯状态标志mFlag为'A'，改变灯状态及标志
  64:srcc/main.c   **** 		else
  65:srcc/main.c   **** 		{
  66:srcc/main.c   **** 			mFlag='L';                       //灯的状态标志
 141              		.loc 1 66 0
 142 0070 4C23     		movs	r3, #76
 143 0072 FB72     		strb	r3, [r7, #11]
  67:srcc/main.c   **** 			gpio_set(LIGHT_RED,LIGHT_OFF); //灯“暗”
 144              		.loc 1 67 0
 145 0074 0021     		movs	r1, #0
 146 0076 4FF48070 		mov	r0, #256
 147 007a FFF7FEFF 		bl	gpio_set
  68:srcc/main.c   **** 			printf(" LIGHT_RED:OFF--\n");  //串口输出灯的状态
 148              		.loc 1 68 0
 149 007e 0748     		ldr	r0, .L7+16
 150 0080 FFF7FEFF 		bl	myprintf
 151 0084 D6E7     		b	.L5
 152              	.L6:
  49:srcc/main.c   **** //（2.3）达到主循环次数设定值，执行下列语句，进行灯的亮暗处理
 153              		.loc 1 49 0
 154 0086 00BF     		nop
  47:srcc/main.c   **** //（2.2）未达到主循环次数设定值，继续循环
 155              		.loc 1 47 0
 156 0088 D4E7     		b	.L5
 157              	.L8:
 158 008a 00BF     		.align	2
 159              	.L7:
 160 008c 00000000 		.word	.LC0
 161 0090 C0C62D00 		.word	3000000
 162 0094 18000000 		.word	.LC1
 163 0098 38000000 		.word	.LC2
 164 009c 4C000000 		.word	.LC3
 165              		.cfi_endproc
 166              	.LFE123:
 168              	.Letext0:
 169              		.file 3 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
 170              		.file 4 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
 171              		.file 5 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH06-UART\\
 172              		.file 6 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH06-UART\\
 173              		.file 7 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH06-UART\\
 174              		.file 8 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\lock.h"
 175              		.file 9 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\_types.h"
 176              		.file 10 "d:\\ahl-gec-ide(4.20)\\gcc\\lib\\gcc\\arm-none-eabi\\7.2.1\\include\\stddef.h"
 177              		.file 11 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\reent.h"
 178              		.file 12 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH06-UART\
 179              		.file 13 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH06-UART\
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\cczM7x8h.s:22     .rodata:00000000 $d
C:\Users\lenovo\AppData\Local\Temp\cczM7x8h.s:37     .text:00000000 $t
C:\Users\lenovo\AppData\Local\Temp\cczM7x8h.s:44     .text:00000000 main
C:\Users\lenovo\AppData\Local\Temp\cczM7x8h.s:160    .text:0000008c $d

UNDEFINED SYMBOLS
gpio_init
emuart_init
uart_send_string
myprintf
gpio_set
