51_LanQiaoBei/模板/蓝桥杯全模块测试例程/DS18B20温度模块/User/Listings/Key.lst
2025-04-13 01:02:19 +08:00

84 lines
2.6 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

C51 COMPILER V9.59.0.0 KEY 05/02/2024 15:57:34 PAGE 1
C51 COMPILER V9.59.0.0, COMPILATION OF MODULE KEY
OBJECT MODULE PLACED IN .\Objects\Key.obj
COMPILER INVOKED BY: D:\Keil_v5\C51\BIN\C51.EXE ..\Driver\Key.c OPTIMIZE(8,SPEED) BROWSE INCDIR(..\Driver) DEBUG OBJECTE
-XTEND PRINT(.\Listings\Key.lst) TABS(2) OBJECT(.\Objects\Key.obj)
line level source
1 #include "Key.h"
2 unsigned char Key_Read()
3 {
4 1 unsigned char temp = 0;
5 1 ET0 = 0;
6 1 P44 = 0;
7 1 P42 = 1;
8 1 P35 = 1;
9 1 P34 = 1;
10 1 if (P33 == 0)
11 1 temp = 4;
12 1 if (P32 == 0)
13 1 temp = 5;
14 1 if (P31 == 0)
15 1 temp = 6;
16 1 if (P30 == 0)
17 1 temp = 7;
18 1 P44 = 1;
19 1 P42 = 0;
20 1 P35 = 1;
21 1 P34 = 1;
22 1 if (P33 == 0)
23 1 temp = 8;
24 1 if (P32 == 0)
25 1 temp = 9;
26 1 if (P31 == 0)
27 1 temp = 10;
28 1 if (P30 == 0)
29 1 temp = 11;
30 1 P44 = 1;
31 1 P42 = 1;
32 1 P35 = 0;
33 1 P34 = 1;
34 1 if (P33 == 0)
35 1 temp = 12;
36 1 if (P32 == 0)
37 1 temp = 13;
38 1 if (P31 == 0)
39 1 temp = 14;
40 1 if (P30 == 0)
41 1 temp = 15;
42 1 P44 = 1;
43 1 P42 = 1;
44 1 P35 = 1;
45 1 P34 = 0;
46 1 if (P33 == 0)
47 1 temp = 16;
48 1 if (P32 == 0)
49 1 temp = 17;
50 1 if (P31 == 0)
51 1 temp = 18;
52 1 if (P30 == 0)
53 1 temp = 19;
54 1 ET0 = 1;
C51 COMPILER V9.59.0.0 KEY 05/02/2024 15:57:34 PAGE 2
55 1 P3 = 0xff;
56 1 return temp;
57 1 }
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 122 ----
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)