单片机原理与应用实例教程 单片机原理与应用实例教程
源代码在线查看: receive.lst
C51 COMPILER V8.08 RECEIVE 08/14/2007 10:07:46 PAGE 1
C51 COMPILER V8.08, COMPILATION OF MODULE RECEIVE
OBJECT MODULE PLACED IN Receive.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE Receive.C BROWSE DEBUG OBJECTEXTEND
line level source
1 #include "REG51.H"
2
3 main()
4 {
5 1 TMOD = 0x20;
6 1 TH1 = 0xe8;
7 1 TL1 = 0xe8;
8 1 PCON = 0;
9 1 SCON = 0x50;
10 1 P1 = 0xff;
11 1 TR1 = 1;
12 1 ES = 1;
13 1 EA = 1;
14 1
15 1 while(1)
16 1 {
17 2 }
18 1 }
19 void INT_TR(void) interrupt 4
20 {
21 1 P1 = SBUF;
22 1 RI = 0;
23 1 }
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 32 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)