51_LanQiaoBei/模板/zuolan_v1标志位/prj/Listings/key.lst
2025-04-13 01:02:19 +08:00

72 lines
2.3 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.60.7.0 KEY 03/10/2025 18:03:54 PAGE 1
C51 COMPILER V9.60.7.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;..\user) DEBUG
- OBJECTEXTEND PRINT(.\Listings\key.lst) TABS(2) OBJECT(.\Objects\key.obj)
line level source
1 #include "key.h"
2 unsigned char Key_Read() {
3 1 unsigned char temp = 0;
4 1 ET1 = 0;
5 1
6 1 P44 = 0;
7 1 P42 = 1;
8 1 P35 = 1;
9 1 P34 = 1;
10 1 if (P33 == 0) temp = 4;
11 1 if (P32 == 0) temp = 5;
12 1 if (P31 == 0) temp = 6;
13 1 if (P30 == 0) temp = 7;
14 1
15 1 P44 = 1;
16 1 P42 = 0;
17 1 P35 = 1;
18 1 P34 = 1;
19 1 if (P33 == 0) temp = 8;
20 1 if (P32 == 0) temp = 9;
21 1 if (P31 == 0) temp = 10;
22 1 if (P30 == 0) temp = 11;
23 1
24 1 P44 = 1;
25 1 P42 = 1;
26 1 P35 = 0;
27 1 P34 = 1;
28 1 if (P33 == 0) temp = 12;
29 1 if (P32 == 0) temp = 13;
30 1 if (P31 == 0) temp = 14;
31 1 if (P30 == 0) temp = 15;
32 1
33 1 P44 = 1;
34 1 P42 = 1;
35 1 P35 = 1;
36 1 P34 = 0;
37 1 if (P33 == 0) temp = 16;
38 1 if (P32 == 0) temp = 17;
39 1 if (P31 == 0) temp = 18;
40 1 if (P30 == 0) temp = 19;
41 1
42 1 P3 = 0xff;
43 1 ET1 = 1;
44 1 return temp;
45 1 }
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 122 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
C51 COMPILER V9.60.7.0 KEY 03/10/2025 18:03:54 PAGE 2
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)