一个基于单片机IO的键盘扫描函数
源代码在线查看: 3个io口的键盘.m51
BL51 BANKED LINKER/LOCATER V6.15 04/14/2009 21:11:03 PAGE 1
BL51 BANKED LINKER/LOCATER V6.15, INVOKED BY:
D:\学习\KEIL 3\C51\BIN\BL51.EXE ThreeIO.obj TO 3个IO口的键盘 RAMSIZE (256)
MEMORY MODEL: SMALL
INPUT MODULES INCLUDED:
ThreeIO.obj (THREEIO)
LINK MAP OF MODULE: 3个IO口的键盘 (THREEIO)
TYPE BASE LENGTH RELOCATION SEGMENT NAME
-----------------------------------------------------
* * * * * * * D A T A M E M O R Y * * * * * * *
REG 0000H 0008H ABSOLUTE "REG BANK 0"
* * * * * * * C O D E M E M O R Y * * * * * * *
CODE 0000H 0043H UNIT ?PR?KEYSCAN?THREEIO
OVERLAY MAP OF MODULE: 3个IO口的键盘 (THREEIO)
SEGMENT
+--> CALLED SEGMENT
---------------------
SYMBOL TABLE OF MODULE: 3个IO口的键盘 (THREEIO)
VALUE TYPE NAME
----------------------------------
------- MODULE THREEIO
C:0000H SYMBOL _ICE_DUMMY_
D:0090H PUBLIC P1
D:00B0H PUBLIC P3
D:00A8H PUBLIC IE
D:00B8H PUBLIC IP
D:0098H PUBLIC SCON
D:0088H PUBLIC TCON
C:0000H PUBLIC Keyscan
D:00C8H PUBLIC T2CON
D:00D0H PUBLIC PSW
------- PROC KEYSCAN
------- DO
D:0007H SYMBOL x
------- ENDDO
C:0000H LINE# 4
C:0000H LINE# 5
C:0000H LINE# 7
C:0000H LINE# 8
C:0003H LINE# 9
BL51 BANKED LINKER/LOCATER V6.15 04/14/2009 21:11:03 PAGE 2
C:0008H LINE# 10
C:000CH LINE# 11
C:000CH LINE# 12
C:000FH LINE# 13
C:0013H LINE# 14
C:0018H LINE# 15
C:001CH LINE# 16
C:001CH LINE# 17
C:001FH LINE# 18
C:0022H LINE# 19
C:0026H LINE# 20
C:0032H LINE# 21
C:0035H LINE# 22
C:0035H LINE# 23
C:0038H LINE# 24
C:003BH LINE# 25
C:003FH LINE# 26
C:0042H LINE# 27
C:0042H LINE# 28
C:0042H LINE# 29
C:0042H LINE# 30
C:0042H LINE# 31
------- ENDPROC KEYSCAN
------- ENDMOD THREEIO
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?KEYSCAN?THREEIO
*** WARNING L10: CANNOT DETERMINE ROOT SEGMENT
Program Size: data=8.0 xdata=0 code=67
LINK/LOCATE RUN COMPLETE. 2 WARNING(S), 0 ERROR(S)