   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 B5C6B5C4 		.ascii	"\265\306\265\304\311\301\313\270\264\316\312\375 mL"
  24      C9C1CBB8 
  24      B4CECAFD 
  24      206D4C
  25 000f 69676874 		.ascii	"ightCount = %d\012\000"
  25      436F756E 
  25      74203D20 
  25      25640A00 
  26 001f 00       		.align	2
  27              	.LC1:
  28 0020 204C4947 		.ascii	" LIGHT_BLUE:ON--\012\000"
  28      48545F42 
  28      4C55453A 
  28      4F4E2D2D 
  28      0A00
  29 0032 0000     		.align	2
  30              	.LC2:
  31 0034 204C4947 		.ascii	" LIGHT_BLUE:OFF--\012\000"
  31      48545F42 
  31      4C55453A 
  31      4F46462D 
  31      2D0A00
  32              		.text
  33              		.align	1
  34              		.global	main
  35              		.syntax unified
  36              		.thumb
  37              		.thumb_func
  38              		.fpu fpv4-sp-d16
  40              	main:
  41              	.LFB123:
  42              		.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   **** {
  43              		.loc 1 15 0
  44              		.cfi_startproc
  45              		@ args = 0, pretend = 0, frame = 32
  46              		@ frame_needed = 1, uses_anonymous_args = 0
  47 0000 80B5     		push	{r7, lr}
  48              		.cfi_def_cfa_offset 8
  49              		.cfi_offset 7, -8
  50              		.cfi_offset 14, -4
  51 0002 88B0     		sub	sp, sp, #32
  52              		.cfi_def_cfa_offset 40
  53 0004 00AF     		add	r7, sp, #0
  54              		.cfi_def_cfa_register 7
  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   ****  //P2口有关地址变量声明
  22:srcc/main.c   ****     vuint8_t*  gpio2_ptr;   //寄存器基地址
  23:srcc/main.c   ****     vuint8_t*  gpio2_POUT;  //数据输出寄存器
  24:srcc/main.c   ****     vuint8_t*  gpio2_PDIR;  //方向寄存器
  25:srcc/main.c   **** 	vuint8_t*  gpio2_SEL0;  //复用选择寄存器
  26:srcc/main.c   **** 	vuint8_t*  gpio2_SEL1;
  27:srcc/main.c   **** 	//给P2口有关地址变量赋值
  28:srcc/main.c   ****     gpio2_ptr =(vuint8_t*) 0x40004C01u;         //寄存器基地址
  55              		.loc 1 28 0
  56 0006 3A4B     		ldr	r3, .L7
  57 0008 3B61     		str	r3, [r7, #16]
  29:srcc/main.c   **** 	gpio2_POUT =(vuint8_t *)(gpio2_ptr+2);      //数据输出寄存器地址
  58              		.loc 1 29 0
  59 000a 3B69     		ldr	r3, [r7, #16]
  60 000c 0233     		adds	r3, r3, #2
  61 000e FB60     		str	r3, [r7, #12]
  30:srcc/main.c   **** 	gpio2_PDIR =(vuint8_t *)(gpio2_ptr+4);      //数据方向寄存器地址
  62              		.loc 1 30 0
  63 0010 3B69     		ldr	r3, [r7, #16]
  64 0012 0433     		adds	r3, r3, #4
  65 0014 BB60     		str	r3, [r7, #8]
  31:srcc/main.c   **** 	gpio2_SEL0 = (vuint8_t *)(gpio2_ptr+10);    //复用选择寄存器
  66              		.loc 1 31 0
  67 0016 3B69     		ldr	r3, [r7, #16]
  68 0018 0A33     		adds	r3, r3, #10
  69 001a 7B60     		str	r3, [r7, #4]
  32:srcc/main.c   **** 	gpio2_SEL1 = (vuint8_t *)(gpio2_ptr+12);
  70              		.loc 1 32 0
  71 001c 3B69     		ldr	r3, [r7, #16]
  72 001e 0C33     		adds	r3, r3, #12
  73 0020 3B60     		str	r3, [r7]
  33:srcc/main.c   **** 	//设置复用寄存器的值(即使蓝灯使用的P2.2引脚对应的位置清0）
  34:srcc/main.c   ****     *gpio2_SEL0 &= ~(1<<2);    //~(1<<2)=0b1111 1110
  74              		.loc 1 34 0
  75 0022 7B68     		ldr	r3, [r7, #4]
  76 0024 1B78     		ldrb	r3, [r3]
  77 0026 DBB2     		uxtb	r3, r3
  78 0028 23F00403 		bic	r3, r3, #4
  79 002c DAB2     		uxtb	r2, r3
  80 002e 7B68     		ldr	r3, [r7, #4]
  81 0030 1A70     		strb	r2, [r3]
  35:srcc/main.c   ****     *gpio2_SEL1 &= ~(1<<2);
  82              		.loc 1 35 0
  83 0032 3B68     		ldr	r3, [r7]
  84 0034 1B78     		ldrb	r3, [r3]
  85 0036 DBB2     		uxtb	r3, r3
  86 0038 23F00403 		bic	r3, r3, #4
  87 003c DAB2     		uxtb	r2, r3
  88 003e 3B68     		ldr	r3, [r7]
  89 0040 1A70     		strb	r2, [r3]
  36:srcc/main.c   ****     //设置数据方向寄存器，使蓝灯使用的P2.2引脚对应的位置置1(1输出,0输入)
  37:srcc/main.c   **** 	*gpio2_PDIR |= (1<<2);      //(1<<2)=0b0000 0001
  90              		.loc 1 37 0
  91 0042 BB68     		ldr	r3, [r7, #8]
  92 0044 1B78     		ldrb	r3, [r3]
  93 0046 DBB2     		uxtb	r3, r3
  94 0048 43F00403 		orr	r3, r3, #4
  95 004c DAB2     		uxtb	r2, r3
  96 004e BB68     		ldr	r3, [r7, #8]
  97 0050 1A70     		strb	r2, [r3]
  38:srcc/main.c   ****     //初始点亮蓝色发光二极管
  39:srcc/main.c   **** 	*gpio2_POUT |= (1<<2);      //输出寄存器相应引脚对应位置1
  98              		.loc 1 39 0
  99 0052 FB68     		ldr	r3, [r7, #12]
 100 0054 1B78     		ldrb	r3, [r3]
 101 0056 DBB2     		uxtb	r3, r3
 102 0058 43F00403 		orr	r3, r3, #4
 103 005c DAB2     		uxtb	r2, r3
 104 005e FB68     		ldr	r3, [r7, #12]
 105 0060 1A70     		strb	r2, [r3]
 106              	.LBB6:
 107              	.LBB7:
 108              		.file 2 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH04-GPIO\\
   1:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** /**************************************************************************//**
   2:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****  * @file     cmsis_gcc.h
   3:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****  * @version  V4.30
   5:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****  * @date     20. October 2015
   6:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****  ******************************************************************************/
   7:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** /* Copyright (c) 2009 - 2015 ARM LIMITED
   8:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
   9:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****    All rights reserved.
  10:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****      specific prior written permission.
  20:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****    *
  21:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****    POSSIBILITY OF SUCH DAMAGE.
  32:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****    ---------------------------------------------------------------------------*/
  33:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
  34:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
  35:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  36:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** #define __CMSIS_GCC_H
  37:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
  38:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** /* ignore some GCC warnings */
  39:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** #if defined ( __GNUC__ )
  40:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic push
  41:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  42:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  43:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  44:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** #endif
  45:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
  46:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
  47:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** /* ###########################  Core Function Access  ########################### */
  48:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** /** \ingroup  CMSIS_Core_FunctionInterface
  49:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****   @{
  51:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****  */
  52:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
  53:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** /**
  54:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****   \brief   Enable IRQ Interrupts
  55:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****            Can only be executed in Privileged modes.
  57:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****  */
  58:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** {
  60:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****   __ASM volatile ("cpsie i" : : : "memory");
  61:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** }
  62:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
  63:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** 
  64:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** /**
  65:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****   \brief   Disable IRQ Interrupts
  66:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****   Can only be executed in Privileged modes.
  68:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****  */
  69:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\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\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** {
  71:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h ****   __ASM volatile ("cpsid i" : : : "memory");
 109              		.loc 2 71 0
 110              		.syntax unified
 111              	@ 71 "C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-
 112 0062 72B6     		cpsid i
 113              	@ 0 "" 2
 114              		.thumb
 115              		.syntax unified
 116              	.LBE7:
 117              	.LBE6:
  40:srcc/main.c   **** //（1.2）【不变】关总中断
  41:srcc/main.c   **** 	DISABLE_INTERRUPTS;
  42:srcc/main.c   **** 
  43:srcc/main.c   **** //（1.3）给主函数使用的局部变量赋初值
  44:srcc/main.c   ****     mMainLoopCount=0;    //主循环次数变量
 118              		.loc 1 44 0
 119 0064 0023     		movs	r3, #0
 120 0066 FB61     		str	r3, [r7, #28]
  45:srcc/main.c   **** 	mFlag='A';           //灯的状态标志
 121              		.loc 1 45 0
 122 0068 4123     		movs	r3, #65
 123 006a FB76     		strb	r3, [r7, #27]
  46:srcc/main.c   **** 	mLightCount=0;       //灯的闪烁次数
 124              		.loc 1 46 0
 125 006c 0023     		movs	r3, #0
 126 006e 7B61     		str	r3, [r7, #20]
  47:srcc/main.c   **** 
  48:srcc/main.c   **** //（1.4）给全局变量赋初值
  49:srcc/main.c   ****    
  50:srcc/main.c   **** //（1.5）用户外设模块初始化
  51:srcc/main.c   **** 	gpio_init(LIGHT_BLUE,GPIO_OUTPUT,LIGHT_ON);	//初始化蓝灯
 127              		.loc 1 51 0
 128 0070 0122     		movs	r2, #1
 129 0072 0121     		movs	r1, #1
 130 0074 4FF48170 		mov	r0, #258
 131 0078 FFF7FEFF 		bl	gpio_init
  52:srcc/main.c   ****     emuart_init(UART_User,115200);
 132              		.loc 1 52 0
 133 007c 4FF4E131 		mov	r1, #115200
 134 0080 0320     		movs	r0, #3
 135 0082 FFF7FEFF 		bl	emuart_init
  53:srcc/main.c   **** //（1.6）使能模块中断
  54:srcc/main.c   ****     uart_enable_re_int(UART_User);
 136              		.loc 1 54 0
 137 0086 0320     		movs	r0, #3
 138 0088 FFF7FEFF 		bl	uart_enable_re_int
 139              	.LBB8:
 140              	.LBB9:
  60:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-DirectAddress(MSP432)-20210406\02_CPU\cmsis_gcc.h **** }
 141              		.loc 2 60 0
 142              		.syntax unified
 143              	@ 60 "C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\CH04-GPIO\GPIO-Output-
 144 008c 62B6     		cpsie i
 145              	@ 0 "" 2
 146              		.thumb
 147              		.syntax unified
 148              	.L5:
 149              	.LBE9:
 150              	.LBE8:
  55:srcc/main.c   ****    
  56:srcc/main.c   **** //（1.7）【不变】开总中断
  57:srcc/main.c   **** 	ENABLE_INTERRUPTS;
  58:srcc/main.c   ****         
  59:srcc/main.c   **** //（1）======启动部分（结尾）==========================================
  60:srcc/main.c   **** 
  61:srcc/main.c   **** //（2）======主循环部分（开头）========================================
  62:srcc/main.c   **** 	for(;;)   //for(;;)（开头）
  63:srcc/main.c   **** 	{
  64:srcc/main.c   **** //（2.1）主循环次数变量+1
  65:srcc/main.c   ****         mMainLoopCount++;
 151              		.loc 1 65 0
 152 008e FB69     		ldr	r3, [r7, #28]
 153 0090 0133     		adds	r3, r3, #1
 154 0092 FB61     		str	r3, [r7, #28]
  66:srcc/main.c   **** //（2.2）未达到主循环次数设定值，继续循环
  67:srcc/main.c   **** 		if (mMainLoopCount<=3000000)  continue;
 155              		.loc 1 67 0
 156 0094 FB69     		ldr	r3, [r7, #28]
 157 0096 174A     		ldr	r2, .L7+4
 158 0098 9342     		cmp	r3, r2
 159 009a 27D9     		bls	.L6
  68:srcc/main.c   **** //（2.3）达到主循环次数设定值，执行下列语句，进行灯的亮暗处理
  69:srcc/main.c   ****        
  70:srcc/main.c   **** //（2.3.1）清除循环次数变量
  71:srcc/main.c   ****        mMainLoopCount=0;
 160              		.loc 1 71 0
 161 009c 0023     		movs	r3, #0
 162 009e FB61     		str	r3, [r7, #28]
  72:srcc/main.c   **** //（2.3.2）如灯状态标志mFlag为'L'，灯的闪烁次数+1并显示，改变灯状态及标志
  73:srcc/main.c   **** 		if (mFlag=='L')                    //判断灯的状态标志
 163              		.loc 1 73 0
 164 00a0 FB7E     		ldrb	r3, [r7, #27]	@ zero_extendqisi2
 165 00a2 4C2B     		cmp	r3, #76
 166 00a4 14D1     		bne	.L4
  74:srcc/main.c   **** 		{
  75:srcc/main.c   **** 			mLightCount++;  
 167              		.loc 1 75 0
 168 00a6 7B69     		ldr	r3, [r7, #20]
 169 00a8 0133     		adds	r3, r3, #1
 170 00aa 7B61     		str	r3, [r7, #20]
  76:srcc/main.c   **** 			*gpio2_POUT |= (1<<2);      //输出寄存器相应引脚对应位置1
 171              		.loc 1 76 0
 172 00ac FB68     		ldr	r3, [r7, #12]
 173 00ae 1B78     		ldrb	r3, [r3]
 174 00b0 DBB2     		uxtb	r3, r3
 175 00b2 43F00403 		orr	r3, r3, #4
 176 00b6 DAB2     		uxtb	r2, r3
 177 00b8 FB68     		ldr	r3, [r7, #12]
 178 00ba 1A70     		strb	r2, [r3]
  77:srcc/main.c   **** 			printf("灯的闪烁次数 mLightCount = %d\n",mLightCount);
 179              		.loc 1 77 0
 180 00bc 7969     		ldr	r1, [r7, #20]
 181 00be 0E48     		ldr	r0, .L7+8
 182 00c0 FFF7FEFF 		bl	myprintf
  78:srcc/main.c   **** 			mFlag='A';                       //灯的状态标志
 183              		.loc 1 78 0
 184 00c4 4123     		movs	r3, #65
 185 00c6 FB76     		strb	r3, [r7, #27]
  79:srcc/main.c   **** 			//gpio_set(LIGHT_BLUE,LIGHT_ON);  //灯“亮”
  80:srcc/main.c   **** 			printf(" LIGHT_BLUE:ON--\n");   //串口输出灯的状态
 186              		.loc 1 80 0
 187 00c8 0C48     		ldr	r0, .L7+12
 188 00ca FFF7FEFF 		bl	myprintf
 189 00ce DEE7     		b	.L5
 190              	.L4:
  81:srcc/main.c   **** 		}
  82:srcc/main.c   **** //（2.3.3）如灯状态标志mFlag为'A'，改变灯状态及标志
  83:srcc/main.c   **** 		else
  84:srcc/main.c   **** 		{
  85:srcc/main.c   **** 			mFlag='L';                       //灯的状态标志
 191              		.loc 1 85 0
 192 00d0 4C23     		movs	r3, #76
 193 00d2 FB76     		strb	r3, [r7, #27]
  86:srcc/main.c   **** 			*gpio2_POUT &=~(1<<2);     //输出寄存器相应引脚对应位清0
 194              		.loc 1 86 0
 195 00d4 FB68     		ldr	r3, [r7, #12]
 196 00d6 1B78     		ldrb	r3, [r3]
 197 00d8 DBB2     		uxtb	r3, r3
 198 00da 23F00403 		bic	r3, r3, #4
 199 00de DAB2     		uxtb	r2, r3
 200 00e0 FB68     		ldr	r3, [r7, #12]
 201 00e2 1A70     		strb	r2, [r3]
  87:srcc/main.c   **** 			//gpio_set(LIGHT_BLUE,LIGHT_OFF); //灯“暗”
  88:srcc/main.c   **** 			printf(" LIGHT_BLUE:OFF--\n");  //串口输出灯的状态
 202              		.loc 1 88 0
 203 00e4 0648     		ldr	r0, .L7+16
 204 00e6 FFF7FEFF 		bl	myprintf
 205 00ea D0E7     		b	.L5
 206              	.L6:
  67:srcc/main.c   **** //（2.3）达到主循环次数设定值，执行下列语句，进行灯的亮暗处理
 207              		.loc 1 67 0
 208 00ec 00BF     		nop
  65:srcc/main.c   **** //（2.2）未达到主循环次数设定值，继续循环
 209              		.loc 1 65 0
 210 00ee CEE7     		b	.L5
 211              	.L8:
 212              		.align	2
 213              	.L7:
 214 00f0 014C0040 		.word	1073761281
 215 00f4 C0C62D00 		.word	3000000
 216 00f8 00000000 		.word	.LC0
 217 00fc 20000000 		.word	.LC1
 218 0100 34000000 		.word	.LC2
 219              		.cfi_endproc
 220              	.LFE123:
 222              	.Letext0:
 223              		.file 3 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
 224              		.file 4 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
 225              		.file 5 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH04-GPIO\\
 226              		.file 6 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH04-GPIO\\
 227              		.file 7 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH04-GPIO\\
 228              		.file 8 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\lock.h"
 229              		.file 9 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\_types.h"
 230              		.file 10 "d:\\ahl-gec-ide(4.20)\\gcc\\lib\\gcc\\arm-none-eabi\\7.2.1\\include\\stddef.h"
 231              		.file 11 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\reent.h"
 232              		.file 12 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH04-GPIO\
 233              		.file 13 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\CH04-GPIO\
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\ccb7gKvJ.s:22     .rodata:00000000 $d
C:\Users\lenovo\AppData\Local\Temp\ccb7gKvJ.s:33     .text:00000000 $t
C:\Users\lenovo\AppData\Local\Temp\ccb7gKvJ.s:40     .text:00000000 main
C:\Users\lenovo\AppData\Local\Temp\ccb7gKvJ.s:214    .text:000000f0 $d

UNDEFINED SYMBOLS
gpio_init
emuart_init
uart_enable_re_int
myprintf
