📄 isr.lst
字号:
###############################################################################
# #
# IAR ANSI C/C++ Compiler V6.10.1.52143/W32 for ARM 16/Apr/2011 20:57:45 #
# Copyright 1999-2010 IAR Systems AB. #
# #
# Cpu mode = thumb #
# Endian = little #
# Source file = E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\src\Sources\C\isr.c #
# Command line = "E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\src\Sources\C\isr.c" -D IAR #
# -D TWR_K60N512 -lCN "E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\bin\Ram\List\" -lB #
# "E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\bin\Ram\List\" -o #
# "E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\bin\Ram\Obj\" --no_cse #
# --no_unroll --no_inline --no_code_motion --no_tbaa #
# --no_clustering --no_scheduling --debug --endian=little #
# --cpu=Cortex-M4 -e --fpu=None --dlib_config #
# D:\iar\arm\INC\c\DLib_Config_Normal.h -I #
# "E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\src\Sources\H\" -I #
# "E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\src\Sources\H\Component_H\" #
# -I "E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\src\Sources\H\Frame_H\" -Ol #
# --use_c++_inline #
# List file = E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\bin\Ram\List\isr.lst #
# Object file = E:\Project\15_K60\03_Software\02_My #
# program\K60_IAR\03_uart_int\bin\Ram\Obj\isr.o #
# #
# #
###############################################################################
E:\Project\15_K60\03_Software\02_My program\K60_IAR\03_uart_int\src\Sources\C\isr.c
1 //-------------------------------------------------------------------------*
2 // 文件名: isr.c *
3 // 说 明: 中断处理例程 *
4 //---------------苏州大学飞思卡尔嵌入式系统实验室2011年--------------------*
5
6 #include "includes.h"
7
8 //-------------------------------------------------------------------------*
9 //函数名: uart3_isr *
10 //功 能: 串口3数据接收中断例程 *
11 //说 明: 无 *
12 //-------------------------------------------------------------------------*
\ In section .text, align 4, keep-with-next
13 void uart3_isr(void)
14 {
\ uart3_isr:
\ 00000000 80B5 PUSH {R7,LR}
15 uint8 ch;
16 DisableInterrupts; //关总中断
\ 00000002 72B6 CPSID i
17 //接收一个字节数据并回发
18 if(uart_re1 (UART3,&ch))
\ 00000004 00A9 ADD R1,SP,#+0
\ 00000006 0648 LDR.N R0,??uart3_isr_0 ;; 0x4006d000
\ 00000008 ........ BL uart_re1
\ 0000000C 0028 CMP R0,#+0
\ 0000000E 04D0 BEQ.N ??uart3_isr_1
19 uart_send1(UART3,ch);
\ 00000010 9DF80010 LDRB R1,[SP, #+0]
\ 00000014 0248 LDR.N R0,??uart3_isr_0 ;; 0x4006d000
\ 00000016 ........ BL uart_send1
20 EnableInterrupts; //开总中断
\ ??uart3_isr_1:
\ 0000001A 62B6 CPSIE i
21 }
\ 0000001C 01BD POP {R0,PC} ;; return
\ 0000001E 00BF Nop
\ ??uart3_isr_0:
\ 00000020 00D00640 DC32 0x4006d000
Maximum stack usage in bytes:
Function .cstack
-------- -------
uart3_isr 8
Section sizes:
Function/Label Bytes
-------------- -----
uart3_isr 36
36 bytes in section .text
36 bytes of CODE memory
Errors: none
Warnings: none
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -