📄 isr.lst
字号:
###############################################################################
# #
# IAR ANSI C/C++ Compiler V6.40.1.53790/W32 for ARM 09/Aug/2012 09:36:30 #
# Copyright 1999-2012 IAR Systems AB. #
# #
# Cpu mode = thumb #
# Endian = little #
# Source file = C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\src\Sources\C\isr.c #
# Command line = "C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\src\Sources\C\isr.c" -D IAR -D #
# TWR_K60N512 -lCN "C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\bin\Flash\List\" -lB #
# "C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\bin\Flash\List\" -o #
# "C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\bin\Flash\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 "C:\Program #
# Files\IAR Systems\Embedded Workbench #
# 6.4_2\arm\INC\c\DLib_Config_Normal.h" -I #
# "C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\src\Sources\H\" -I #
# "C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\src\Sources\H\Component_H\" -I #
# "C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\src\Sources\H\Frame_H\" -Ol #
# --use_c++_inline #
# List file = C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\bin\Flash\List\isr.lst #
# Object file = C:\Users\305030973\Desktop\M4 #
# example\03_uart_int\bin\Flash\Obj\isr.o #
# #
# #
###############################################################################
C:\Users\305030973\Desktop\M4 example\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 0xB580 PUSH {R7,LR}
15 uint8 ch;
16 DisableInterrupts; //关总中断
\ 00000002 0xB672 CPSID i
17 //接收一个字节数据并回发
18 if(uart_re1 (UART3,&ch))
\ 00000004 0xA900 ADD R1,SP,#+0
\ 00000006 0x4806 LDR.N R0,??uart3_isr_0 ;; 0x4006d000
\ 00000008 0x.... 0x.... BL uart_re1
\ 0000000C 0x2800 CMP R0,#+0
\ 0000000E 0xD004 BEQ.N ??uart3_isr_1
19 uart_send1(UART3,ch);
\ 00000010 0xF89D 0x1000 LDRB R1,[SP, #+0]
\ 00000014 0x4802 LDR.N R0,??uart3_isr_0 ;; 0x4006d000
\ 00000016 0x.... 0x.... BL uart_send1
20 EnableInterrupts; //开总中断
\ ??uart3_isr_1:
\ 0000001A 0xB662 CPSIE i
21 }
\ 0000001C 0xBD01 POP {R0,PC} ;; return
\ 0000001E 0xBF00 Nop
\ ??uart3_isr_0:
\ 00000020 0x4006D000 DC32 0x4006d000
Maximum stack usage in bytes:
.cstack Function
------- --------
8 uart3_isr
8 -> uart_re1
8 -> uart_send1
Section sizes:
Bytes Function/Label
----- --------------
36 uart3_isr
36 bytes in section .text
36 bytes of CODE memory
Errors: none
Warnings: none
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -