📄 inter.lst
字号:
C51 COMPILER V7.06 INTER 10/11/2006 21:15:08 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE INTER
OBJECT MODULE PLACED IN Inter.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE Inter.c LARGE BROWSE DEBUG OBJECTEXTEND
stmt level source
1 #include <stdio.h>
2 #include <absacc.h>
3 #include <./Atmel/at89x52.h>
4 #include "source.h"
5 void serial() interrupt 4{/*C52串行异步口接收和发送中断*/
6 1 if(RI){//接收中断处理
7 2 dsr_buf[dsr_head]=SBUF;
*** ERROR C202 IN LINE 7 OF INTER.C: 'dsr_head': undefined identifier
8 2 dsr_head++;
*** ERROR C202 IN LINE 8 OF INTER.C: 'dsr_head': undefined identifier
9 2 dsr_head %=DSR_LEN;
*** ERROR C202 IN LINE 9 OF INTER.C: 'dsr_head': undefined identifier
10 2 RI=0;
11 2 }
12 1 else if(TI){//发送中断处理
13 2 TI=0;
14 2 if(dst_tail!=dst_head){
*** ERROR C202 IN LINE 14 OF INTER.C: 'dst_tail': undefined identifier
15 3 SBUF=dst_buf[dst_tail];
*** ERROR C202 IN LINE 15 OF INTER.C: 'dst_tail': undefined identifier
16 3 dst_tail++;
*** ERROR C202 IN LINE 16 OF INTER.C: 'dst_tail': undefined identifier
17 3 dst_tail%=DST_LEN;
*** ERROR C202 IN LINE 17 OF INTER.C: 'dst_tail': undefined identifier
18 3 }
19 2 else{
20 3 TDBdata_over=1;
*** ERROR C202 IN LINE 20 OF INTER.C: 'TDBdata_over': undefined identifier
21 3 }
22 2 }
23 1 }
C51 COMPILATION COMPLETE. 0 WARNING(S), 8 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -