   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              		.bss
  22              		.align	2
  23              	destinationArray:
  24 0000 00000000 		.space	1024
  24      00000000 
  24      00000000 
  24      00000000 
  24      00000000 
  26              		.comm	controlTable,1024,4
  27              		.section	.rodata
  28              		.align	2
  29              	.LC0:
  30 0000 74686973 		.ascii	"this is DMA\012\000"
  30      20697320 
  30      444D410A 
  30      00
  31 000d 000000   		.align	2
  32              	.LC1:
  33 0010 B5C6B5C4 		.ascii	"\265\306\265\304\311\301\313\270\264\316\312\375 mL"
  33      C9C1CBB8 
  33      B4CECAFD 
  33      206D4C
  34 001f 69676874 		.ascii	"ightCount = %d\012\000"
  34      436F756E 
  34      74203D20 
  34      25640A00 
  35 002f 00       		.align	2
  36              	.LC2:
  37 0030 204C4947 		.ascii	" LIGHT_RED:ON--\012\000"
  37      48545F52 
  37      45443A4F 
  37      4E2D2D0A 
  37      00
  38 0041 000000   		.align	2
  39              	.LC3:
  40 0044 204C4947 		.ascii	" LIGHT_RED:OFF--\012\000"
  40      48545F52 
  40      45443A4F 
  40      46462D2D 
  40      0A00
  41              		.text
  42              		.align	1
  43              		.global	main
  44              		.syntax unified
  45              		.thumb
  46              		.thumb_func
  47              		.fpu fpv4-sp-d16
  49              	main:
  50              	.LFB123:
  51              		.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   **** static uint8_t destinationArray[1024];
  11:srcc/main.c   **** uint8_t controlTable[1024];
  12:srcc/main.c   **** 
  13:srcc/main.c   **** //----------------------------------------------------------------------
  14:srcc/main.c   **** //主函数，一般情况下可以认为程序从此开始运行（实际上有启动过程见书稿）
  15:srcc/main.c   **** int main(void)
  16:srcc/main.c   **** {
  52              		.loc 1 16 0
  53              		.cfi_startproc
  54              		@ args = 0, pretend = 0, frame = 16
  55              		@ frame_needed = 1, uses_anonymous_args = 0
  56 0000 80B5     		push	{r7, lr}
  57              		.cfi_def_cfa_offset 8
  58              		.cfi_offset 7, -8
  59              		.cfi_offset 14, -4
  60 0002 86B0     		sub	sp, sp, #24
  61              		.cfi_def_cfa_offset 32
  62 0004 02AF     		add	r7, sp, #8
  63              		.cfi_def_cfa 7, 24
  64              	.LBB6:
  65              	.LBB7:
  66              		.file 2 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch12-DMA\\D
   1:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /**************************************************************************//**
   2:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  * @file     cmsis_gcc.h
   3:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  * @version  V4.30
   5:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  * @date     20. October 2015
   6:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  ******************************************************************************/
   7:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
   9:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    All rights reserved.
  10:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****      specific prior written permission.
  20:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    *
  21:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    POSSIBILITY OF SUCH DAMAGE.
  32:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****    ---------------------------------------------------------------------------*/
  33:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  34:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  35:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  36:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #define __CMSIS_GCC_H
  37:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  38:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /* ignore some GCC warnings */
  39:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #if defined ( __GNUC__ )
  40:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic push
  41:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  43:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** #endif
  45:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  46:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  47:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /* ###########################  Core Function Access  ########################### */
  48:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /** \ingroup  CMSIS_Core_FunctionInterface
  49:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   @{
  51:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  */
  52:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  53:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /**
  54:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   \brief   Enable IRQ Interrupts
  55:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  */
  58:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __NVIC_EnableIRQ(void)
  59:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** {
  60:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   __ASM volatile ("cpsie i" : : : "memory");
  61:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** }
  62:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  63:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** 
  64:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** /**
  65:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   \brief   Disable IRQ Interrupts
  66:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(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\ch12-DMA\DMA(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\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****  */
  69:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __NVIC_DisableIRQ(void)
  70:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** {
  71:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h ****   __ASM volatile ("cpsid i" : : : "memory");
  67              		.loc 2 71 0
  68              		.syntax unified
  69              	@ 71 "C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-2
  70 0006 72B6     		cpsid i
  71              	@ 0 "" 2
  72              		.thumb
  73              		.syntax unified
  74              	.LBE7:
  75              	.LBE6:
  17:srcc/main.c   **** //（1.1）声明main函数使用的局部变量
  18:srcc/main.c   **** 	uint32_t mMainLoopCount;  //主循环次数变量
  19:srcc/main.c   **** 	uint8_t  mFlag;           //灯的状态标志
  20:srcc/main.c   **** 	uint32_t mLightCount;     //灯的状态切换次数
  21:srcc/main.c   **** 	
  22:srcc/main.c   ****     
  23:srcc/main.c   **** //（1.2）【不变】关总中断
  24:srcc/main.c   **** 	DISABLE_INTERRUPTS;
  25:srcc/main.c   **** 
  26:srcc/main.c   **** //（1.3）给主函数使用的局部变量赋初值
  27:srcc/main.c   ****     mMainLoopCount=0;    //主循环次数变量
  76              		.loc 1 27 0
  77 0008 0023     		movs	r3, #0
  78 000a FB60     		str	r3, [r7, #12]
  28:srcc/main.c   **** 	mFlag='A';           //灯的状态标志
  79              		.loc 1 28 0
  80 000c 4123     		movs	r3, #65
  81 000e FB72     		strb	r3, [r7, #11]
  29:srcc/main.c   **** 	mLightCount=0;       //灯的闪烁次数
  82              		.loc 1 29 0
  83 0010 0023     		movs	r3, #0
  84 0012 7B60     		str	r3, [r7, #4]
  30:srcc/main.c   **** 
  31:srcc/main.c   **** //（1.4）给全局变量赋初值
  32:srcc/main.c   ****    
  33:srcc/main.c   **** //（1.5）用户外设模块初始化
  34:srcc/main.c   **** 	gpio_init(LIGHT_RED,GPIO_OUTPUT,LIGHT_ON);	//初始化蓝灯
  85              		.loc 1 34 0
  86 0014 0122     		movs	r2, #1
  87 0016 0121     		movs	r1, #1
  88 0018 4FF48070 		mov	r0, #256
  89 001c FFF7FEFF 		bl	gpio_init
  35:srcc/main.c   ****     emuart_init(UART_User,115200);
  90              		.loc 1 35 0
  91 0020 4FF4E131 		mov	r1, #115200
  92 0024 0320     		movs	r0, #3
  93 0026 FFF7FEFF 		bl	emuart_init
  36:srcc/main.c   ****     uart_send_string(0,"this is DMA\n");
  94              		.loc 1 36 0
  95 002a 2749     		ldr	r1, .L7
  96 002c 0020     		movs	r0, #0
  97 002e FFF7FEFF 		bl	uart_send_string
  37:srcc/main.c   ****     memset(destinationArray, 0x00, 1024);
  98              		.loc 1 37 0
  99 0032 4FF48062 		mov	r2, #1024
 100 0036 0021     		movs	r1, #0
 101 0038 2448     		ldr	r0, .L7+4
 102 003a FFF7FEFF 		bl	memset
  38:srcc/main.c   **** 
  39:srcc/main.c   **** 	dma_init(UDMA_PRI_SELECT,
 103              		.loc 1 39 0
 104 003e 244A     		ldr	r2, .L7+8
 105 0040 4FF42031 		mov	r1, #163840
 106 0044 0020     		movs	r0, #0
 107 0046 FFF7FEFF 		bl	dma_init
  40:srcc/main.c   ****             UDMA_SIZE_8 | UDMA_SRC_INC_8 | UDMA_DST_INC_8 | UDMA_ARB_1024,controlTable);
  41:srcc/main.c   **** 	dma_setChannelTransfer(UDMA_PRI_SELECT, UDMA_MODE_AUTO, data_array,
 108              		.loc 1 41 0
 109 004a 4FF48063 		mov	r3, #1024
 110 004e 0093     		str	r3, [sp]
 111 0050 1E4B     		ldr	r3, .L7+4
 112 0052 204A     		ldr	r2, .L7+12
 113 0054 0221     		movs	r1, #2
 114 0056 0020     		movs	r0, #0
 115 0058 FFF7FEFF 		bl	dma_setChannelTransfer
  42:srcc/main.c   ****             destinationArray, 1024);
  43:srcc/main.c   **** //（1.6）使能模块中断
  44:srcc/main.c   ****     //uart_enable_re_int(UART_User);
  45:srcc/main.c   ****    dma_enable_int(DMA_INT1, 0);
 116              		.loc 1 45 0
 117 005c 0021     		movs	r1, #0
 118 005e 3120     		movs	r0, #49
 119 0060 FFF7FEFF 		bl	dma_enable_int
 120              	.LBB8:
 121              	.LBB9:
  60:C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-20210417\02_CPU\cmsis_gcc.h **** }
 122              		.loc 2 60 0
 123              		.syntax unified
 124              	@ 60 "C:\Users\lenovo\Desktop\MSP-20210417\MSP-20210417\User-MSP432-20210417\ch12-DMA\DMA(MSP432)-2
 125 0064 62B6     		cpsie i
 126              	@ 0 "" 2
 127              		.thumb
 128              		.syntax unified
 129              	.LBE9:
 130              	.LBE8:
  46:srcc/main.c   **** //（1.7）【不变】开总中断
  47:srcc/main.c   **** 	ENABLE_INTERRUPTS;
  48:srcc/main.c   ****         
  49:srcc/main.c   **** //（1）======启动部分（结尾）==========================================
  50:srcc/main.c   ****     dma_enableCh(0);
 131              		.loc 1 50 0
 132 0066 0020     		movs	r0, #0
 133 0068 FFF7FEFF 		bl	dma_enableCh
  51:srcc/main.c   **** 	 dma_requestSoftwareTransfer(0); 
 134              		.loc 1 51 0
 135 006c 0020     		movs	r0, #0
 136 006e FFF7FEFF 		bl	dma_requestSoftwareTransfer
 137              	.L5:
  52:srcc/main.c   **** //（2）======主循环部分（开头）========================================
  53:srcc/main.c   **** 	for(;;)   //for(;;)（开头）
  54:srcc/main.c   **** 	{
  55:srcc/main.c   **** //（2.1）主循环次数变量+1
  56:srcc/main.c   ****      
  57:srcc/main.c   ****         mMainLoopCount++;
 138              		.loc 1 57 0
 139 0072 FB68     		ldr	r3, [r7, #12]
 140 0074 0133     		adds	r3, r3, #1
 141 0076 FB60     		str	r3, [r7, #12]
  58:srcc/main.c   **** //（2.2）未达到主循环次数设定值，继续循环
  59:srcc/main.c   **** 		if (mMainLoopCount<=3000000)  continue;
 142              		.loc 1 59 0
 143 0078 FB68     		ldr	r3, [r7, #12]
 144 007a 174A     		ldr	r2, .L7+16
 145 007c 9342     		cmp	r3, r2
 146 007e 21D9     		bls	.L6
  60:srcc/main.c   **** //（2.3）达到主循环次数设定值，执行下列语句，进行灯的亮暗处理
  61:srcc/main.c   ****        
  62:srcc/main.c   **** //（2.3.1）清除循环次数变量
  63:srcc/main.c   ****           mMainLoopCount=0;
 147              		.loc 1 63 0
 148 0080 0023     		movs	r3, #0
 149 0082 FB60     		str	r3, [r7, #12]
  64:srcc/main.c   **** //（2.3.2）如灯状态标志mFlag为'L'，灯的闪烁次数+1并显示，改变灯状态及标志
  65:srcc/main.c   **** 		if (mFlag=='L')                    //判断灯的状态标志
 150              		.loc 1 65 0
 151 0084 FB7A     		ldrb	r3, [r7, #11]	@ zero_extendqisi2
 152 0086 4C2B     		cmp	r3, #76
 153 0088 11D1     		bne	.L4
  66:srcc/main.c   **** 		{
  67:srcc/main.c   **** 			mLightCount++;  
 154              		.loc 1 67 0
 155 008a 7B68     		ldr	r3, [r7, #4]
 156 008c 0133     		adds	r3, r3, #1
 157 008e 7B60     		str	r3, [r7, #4]
  68:srcc/main.c   **** 			printf("灯的闪烁次数 mLightCount = %d\n",mLightCount);
 158              		.loc 1 68 0
 159 0090 7968     		ldr	r1, [r7, #4]
 160 0092 1248     		ldr	r0, .L7+20
 161 0094 FFF7FEFF 		bl	myprintf
  69:srcc/main.c   **** 			mFlag='A';                       //灯的状态标志
 162              		.loc 1 69 0
 163 0098 4123     		movs	r3, #65
 164 009a FB72     		strb	r3, [r7, #11]
  70:srcc/main.c   **** 			gpio_set(LIGHT_RED,LIGHT_ON);  //灯“亮”
 165              		.loc 1 70 0
 166 009c 0121     		movs	r1, #1
 167 009e 4FF48070 		mov	r0, #256
 168 00a2 FFF7FEFF 		bl	gpio_set
  71:srcc/main.c   **** 			printf(" LIGHT_RED:ON--\n");   //串口输出灯的状态
 169              		.loc 1 71 0
 170 00a6 0E48     		ldr	r0, .L7+24
 171 00a8 FFF7FEFF 		bl	myprintf
 172 00ac E1E7     		b	.L5
 173              	.L4:
  72:srcc/main.c   **** 		}
  73:srcc/main.c   **** //（2.3.3）如灯状态标志mFlag为'A'，改变灯状态及标志
  74:srcc/main.c   **** 		else
  75:srcc/main.c   **** 		{
  76:srcc/main.c   **** 			mFlag='L';                       //灯的状态标志
 174              		.loc 1 76 0
 175 00ae 4C23     		movs	r3, #76
 176 00b0 FB72     		strb	r3, [r7, #11]
  77:srcc/main.c   **** 			gpio_set(LIGHT_RED,LIGHT_OFF); //灯“暗”
 177              		.loc 1 77 0
 178 00b2 0021     		movs	r1, #0
 179 00b4 4FF48070 		mov	r0, #256
 180 00b8 FFF7FEFF 		bl	gpio_set
  78:srcc/main.c   **** 			printf(" LIGHT_RED:OFF--\n");  //串口输出灯的状态
 181              		.loc 1 78 0
 182 00bc 0948     		ldr	r0, .L7+28
 183 00be FFF7FEFF 		bl	myprintf
 184 00c2 D6E7     		b	.L5
 185              	.L6:
  59:srcc/main.c   **** //（2.3）达到主循环次数设定值，执行下列语句，进行灯的亮暗处理
 186              		.loc 1 59 0
 187 00c4 00BF     		nop
  57:srcc/main.c   **** //（2.2）未达到主循环次数设定值，继续循环
 188              		.loc 1 57 0
 189 00c6 D4E7     		b	.L5
 190              	.L8:
 191              		.align	2
 192              	.L7:
 193 00c8 00000000 		.word	.LC0
 194 00cc 00000000 		.word	destinationArray
 195 00d0 00000000 		.word	controlTable
 196 00d4 00000000 		.word	data_array
 197 00d8 C0C62D00 		.word	3000000
 198 00dc 10000000 		.word	.LC1
 199 00e0 30000000 		.word	.LC2
 200 00e4 44000000 		.word	.LC3
 201              		.cfi_endproc
 202              	.LFE123:
 204              	.Letext0:
 205              		.file 3 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
 206              		.file 4 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
 207              		.file 5 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch12-DMA\\D
 208              		.file 6 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch12-DMA\\D
 209              		.file 7 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch12-DMA\\D
 210              		.file 8 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\lock.h"
 211              		.file 9 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\_types.h"
 212              		.file 10 "d:\\ahl-gec-ide(4.20)\\gcc\\lib\\gcc\\arm-none-eabi\\7.2.1\\include\\stddef.h"
 213              		.file 11 "d:\\ahl-gec-ide(4.20)\\gcc\\arm-none-eabi\\include\\sys\\reent.h"
 214              		.file 12 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch12-DMA\\
 215              		.file 13 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch12-DMA\\
 216              		.file 14 "C:\\Users\\lenovo\\Desktop\\MSP-20210417\\MSP-20210417\\User-MSP432-20210417\\ch12-DMA\\
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\ccqnumke.s:22     .bss:00000000 $d
C:\Users\lenovo\AppData\Local\Temp\ccqnumke.s:23     .bss:00000000 destinationArray
                            *COM*:00000400 controlTable
C:\Users\lenovo\AppData\Local\Temp\ccqnumke.s:28     .rodata:00000000 $d
C:\Users\lenovo\AppData\Local\Temp\ccqnumke.s:42     .text:00000000 $t
C:\Users\lenovo\AppData\Local\Temp\ccqnumke.s:49     .text:00000000 main
C:\Users\lenovo\AppData\Local\Temp\ccqnumke.s:193    .text:000000c8 $d

UNDEFINED SYMBOLS
gpio_init
emuart_init
uart_send_string
memset
dma_init
dma_setChannelTransfer
dma_enable_int
dma_enableCh
dma_requestSoftwareTransfer
myprintf
gpio_set
data_array
