修正错误

This commit is contained in:
iridiumR 2022-06-04 22:37:33 +08:00
parent 20bb7dbf92
commit 90d618c267
6 changed files with 367 additions and 402 deletions

View file

@ -1,4 +1,4 @@
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 1 BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 1
BL51 BANKED LINKER/LOCATER V6.22.2.0, INVOKED BY: BL51 BANKED LINKER/LOCATER V6.22.2.0, INVOKED BY:
@ -44,26 +44,25 @@ LINK MAP OF MODULE: .\Objects\MCU_1 (MAIN)
* * * * * * * C O D E M E M O R Y * * * * * * * * * * * * * * C O D E M E M O R Y * * * * * * *
CODE 0000H 0003H ABSOLUTE CODE 0000H 0003H ABSOLUTE
CODE 0003H 01A0H UNIT ?CO?DISPLAY CODE 0003H 01A0H UNIT ?CO?DRAW
CODE 01A3H 01A0H UNIT ?CO?DRAW CODE 01A3H 013FH UNIT ?PR?DRAWNUMBER?DRAW
CODE 0343H 013FH UNIT ?PR?DRAWNUMBER?DRAW CODE 02E2H 00C5H UNIT ?PR?CLEAR?DISPLAY
CODE 0482H 00C5H UNIT ?PR?CLEAR?DISPLAY CODE 03A7H 00C5H UNIT ?PR?MINICLEAR?DISPLAY
CODE 0547H 00C5H UNIT ?PR?MINICLEAR?DISPLAY CODE 046CH 00C5H UNIT ?PR?TEST?DISPLAY
CODE 060CH 00C5H UNIT ?PR?TEST?DISPLAY CODE 0531H 008EH UNIT ?PR?DRAWNAME?DRAW
CODE 06D1H 008EH UNIT ?PR?DRAWNAME?DRAW CODE 05BFH 008CH UNIT ?C_C51STARTUP
CODE 075FH 008CH UNIT ?C_C51STARTUP CODE 064BH 007DH UNIT ?C?LIB_CODE
CODE 07EBH 007DH UNIT ?C?LIB_CODE CODE 06C8H 0042H UNIT ?PR?_M_STARTUP?MENU
CODE 0868H 0042H UNIT ?PR?_M_STARTUP?MENU CODE 070AH 002FH UNIT ?PR?MAIN?MAIN
CODE 08AAH 002FH UNIT ?PR?MAIN?MAIN CODE 0739H 0020H UNIT ?PR?_DELAY?DELAY
CODE 08D9H 0020H UNIT ?PR?_DELAY?DELAY CODE 0759H 001CH UNIT ?PR?DISPLAYINIT?DISPLAY
CODE 08F9H 001CH UNIT ?PR?DISPLAYINIT?DISPLAY CODE 0775H 0019H UNIT ?PR?WRITE?DISPLAY
CODE 0915H 0019H UNIT ?PR?WRITE?DISPLAY CODE 078EH 000FH UNIT ?PR?MENUINIT?MENU
CODE 092EH 000FH UNIT ?PR?MENUINIT?MENU CODE 079DH 000BH UNIT ?PR?DELAY100US?DELAY
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 2 BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 2
CODE 093DH 000BH UNIT ?PR?DELAY100US?DELAY CODE 07A8H 000AH UNIT ?C_INITSEG
CODE 0948H 000AH UNIT ?C_INITSEG
@ -109,19 +108,6 @@ SEGMENT XDATA_GROUP
IGNORED SYMBOLS:
NAME_PAGE0
NAME_PAGE1
NUMBER_PAGE0
NUMBER_PAGE1
NUMBER_RPAGE0
NUMBER_RPAGE1
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 3
SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN) SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN)
VALUE TYPE NAME VALUE TYPE NAME
@ -130,76 +116,80 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN)
------- MODULE MAIN ------- MODULE MAIN
C:0000H SYMBOL _ICE_DUMMY_ C:0000H SYMBOL _ICE_DUMMY_
D:0090H PUBLIC P1 D:0090H PUBLIC P1
D:00A0H PUBLIC P2
D:00B0H PUBLIC P3 D:00B0H PUBLIC P3
D:00A8H PUBLIC IE D:00A8H PUBLIC IE
BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 3
D:00B8H PUBLIC IP D:00B8H PUBLIC IP
C:08AAH PUBLIC main C:070AH PUBLIC main
D:0098H PUBLIC SCON D:0098H PUBLIC SCON
D:0088H PUBLIC TCON D:0088H PUBLIC TCON
D:00C8H PUBLIC T2CON D:00C8H PUBLIC T2CON
D:00D0H PUBLIC PSW D:00D0H PUBLIC PSW
------- PROC MAIN ------- PROC MAIN
C:08AAH LINE# 16 C:070AH LINE# 16
C:08AAH LINE# 17 C:070AH LINE# 17
C:08AAH LINE# 18 C:070AH LINE# 18
C:08ADH LINE# 19 C:070DH LINE# 19
C:08D7H LINE# 20 C:0737H LINE# 20
C:08D7H LINE# 21 C:0737H LINE# 21
C:08D7H LINE# 25 C:0737H LINE# 25
------- ENDPROC MAIN ------- ENDPROC MAIN
------- ENDMOD MAIN ------- ENDMOD MAIN
------- MODULE MENU ------- MODULE MENU
C:0000H SYMBOL _ICE_DUMMY_ C:0000H SYMBOL _ICE_DUMMY_
X:0000H PUBLIC M_MAINMANU X:0000H PUBLIC M_MAINMANU
C:092EH PUBLIC menuInit C:078EH PUBLIC menuInit
X:0006H PUBLIC M_STARTUP X:0006H PUBLIC M_STARTUP
C:0868H PUBLIC _m_startup C:06C8H PUBLIC _m_startup
X:000CH PUBLIC NOW X:000CH PUBLIC NOW
------- PROC _M_STARTUP ------- PROC _M_STARTUP
X:000FH SYMBOL this X:000FH SYMBOL this
C:0868H LINE# 18 C:06C8H LINE# 18
C:0873H LINE# 19 C:06D3H LINE# 19
C:0873H LINE# 20 C:06D3H LINE# 20
C:0876H LINE# 21 C:06D6H LINE# 21
C:0879H LINE# 22 C:06D9H LINE# 22
C:087CH LINE# 23 C:06DCH LINE# 23
C:0883H LINE# 24 C:06E3H LINE# 24
C:0886H LINE# 25 C:06E6H LINE# 25
C:088DH LINE# 26 C:06EDH LINE# 26
C:0890H LINE# 27 C:06F0H LINE# 27
C:08A9H LINE# 28 C:0709H LINE# 28
------- ENDPROC _M_STARTUP ------- ENDPROC _M_STARTUP
------- PROC MENUINIT ------- PROC MENUINIT
C:092EH LINE# 31 C:078EH LINE# 31
C:092EH LINE# 32 C:078EH LINE# 32
C:092EH LINE# 33 C:078EH LINE# 33
C:093CH LINE# 34 C:079CH LINE# 34
------- ENDPROC MENUINIT ------- ENDPROC MENUINIT
------- ENDMOD MENU ------- ENDMOD MENU
------- MODULE DELAY ------- MODULE DELAY
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 4
C:0000H SYMBOL _ICE_DUMMY_ C:0000H SYMBOL _ICE_DUMMY_
C:093DH PUBLIC delay100us C:079DH PUBLIC delay100us
C:08D9H PUBLIC _delay C:0739H PUBLIC _delay
------- PROC DELAY100US ------- PROC DELAY100US
------- DO ------- DO
D:0007H SYMBOL i D:0007H SYMBOL i
D:0006H SYMBOL j D:0006H SYMBOL j
------- ENDDO ------- ENDDO
C:093DH LINE# 3 C:079DH LINE# 3
C:093DH LINE# 4 C:079DH LINE# 4
C:093DH LINE# 7 BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 4
C:093EH LINE# 8
C:093FH LINE# 9
C:0941H LINE# 10 C:079DH LINE# 7
C:0943H LINE# 12 C:079EH LINE# 8
C:0943H LINE# 13 C:079FH LINE# 9
C:0945H LINE# 14 C:07A1H LINE# 10
C:0947H LINE# 15 C:07A3H LINE# 12
C:07A3H LINE# 13
C:07A5H LINE# 14
C:07A7H LINE# 15
------- ENDPROC DELAY100US ------- ENDPROC DELAY100US
------- PROC _DELAY ------- PROC _DELAY
D:0006H SYMBOL n D:0006H SYMBOL n
@ -207,407 +197,373 @@ SYMBOL TABLE OF MODULE: .\Objects\MCU_1 (MAIN)
D:0006H SYMBOL i D:0006H SYMBOL i
D:0004H SYMBOL j D:0004H SYMBOL j
------- ENDDO ------- ENDDO
C:08D9H LINE# 24 C:0739H LINE# 24
C:08D9H LINE# 26 C:0739H LINE# 26
C:08D9H LINE# 27 C:0739H LINE# 27
C:08E4H LINE# 28 C:0744H LINE# 28
C:08F8H LINE# 29 C:0758H LINE# 29
------- ENDPROC _DELAY ------- ENDPROC _DELAY
------- ENDMOD DELAY ------- ENDMOD DELAY
------- MODULE DISPLAY ------- MODULE DISPLAY
C:0000H SYMBOL _ICE_DUMMY_ C:0000H SYMBOL _ICE_DUMMY_
D:0090H PUBLIC P1 D:0090H PUBLIC P1
D:00A0H PUBLIC P2
D:00B0H PUBLIC P3 D:00B0H PUBLIC P3
C:0482H PUBLIC clear C:02E2H PUBLIC clear
D:00A8H PUBLIC IE D:00A8H PUBLIC IE
C:08F9H PUBLIC displayInit C:0759H PUBLIC displayInit
D:00B8H PUBLIC IP D:00B8H PUBLIC IP
B:00B0H.0 PUBLIC RS B:00A0H.0 PUBLIC RS
B:00B0H.1 PUBLIC RW B:00A0H.1 PUBLIC RW
C:091EH PUBLIC write C:077EH PUBLIC write
D:0098H PUBLIC SCON D:0098H PUBLIC SCON
D:0088H PUBLIC TCON D:0088H PUBLIC TCON
C:0547H PUBLIC miniclear C:03A7H PUBLIC miniclear
C:060CH PUBLIC test C:046CH PUBLIC test
B:00B0H.2 PUBLIC E B:00A0H.2 PUBLIC E
C:0163H PUBLIC NUMBER_RPAGE0 B:00A0H.4 PUBLIC CSA
C:0183H PUBLIC NUMBER_RPAGE1 B:00A0H.5 PUBLIC CSB
C:0003H PUBLIC NAME_PAGE0
C:0033H PUBLIC NAME_PAGE1
B:00B0H.4 PUBLIC CSA
B:00B0H.5 PUBLIC CSB
D:00C8H PUBLIC T2CON D:00C8H PUBLIC T2CON
C:0063H PUBLIC NUMBER_PAGE0
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 5
D:00D0H PUBLIC PSW D:00D0H PUBLIC PSW
C:00E3H PUBLIC NUMBER_PAGE1 C:0775H SYMBOL L?0055
C:0915H SYMBOL L?0055
------- PROC L?0054 ------- PROC L?0054
------- ENDPROC L?0054 ------- ENDPROC L?0054
C:0915H SYMBOL L?0055 C:0775H SYMBOL L?0055
------- PROC WRITE ------- PROC WRITE
C:091EH LINE# 18 C:077EH LINE# 17
C:091EH LINE# 19 C:077EH LINE# 18
C:091EH LINE# 20 C:077EH LINE# 19
C:0920H LINE# 21 C:0780H LINE# 20
C:0922H LINE# 22 C:0782H LINE# 21
C:0924H LINE# 23 C:0784H LINE# 22
C:092BH LINE# 24 C:078BH LINE# 23
C:092DH LINE# 25 C:078DH LINE# 24
BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 5
------- ENDPROC WRITE ------- ENDPROC WRITE
------- PROC CLEAR ------- PROC CLEAR
------- DO ------- DO
X:0012H SYMBOL i X:0012H SYMBOL i
X:0014H SYMBOL j X:0014H SYMBOL j
------- ENDDO ------- ENDDO
C:0482H LINE# 29 C:02E2H LINE# 28
C:0482H LINE# 30 C:02E2H LINE# 29
C:0482H LINE# 32 C:02E2H LINE# 31
C:0484H LINE# 33 C:02E4H LINE# 32
C:0486H LINE# 34 C:02E6H LINE# 33
C:049DH LINE# 35 C:02FDH LINE# 34
C:049DH LINE# 36 C:02FDH LINE# 35
C:049DH LINE# 37 C:02FDH LINE# 36
C:049DH LINE# 38 C:02FDH LINE# 37
C:049DH LINE# 39 C:02FDH LINE# 38
C:04A0H LINE# 40 C:0300H LINE# 39
C:04A3H LINE# 41 C:0303H LINE# 40
C:04A6H LINE# 43 C:0306H LINE# 42
C:04ADH LINE# 44 C:030DH LINE# 43
C:04ADH LINE# 45 C:030DH LINE# 44
C:04AFH LINE# 46 C:030FH LINE# 45
C:04B1H LINE# 47 C:0311H LINE# 46
C:04B4H LINE# 48 C:0314H LINE# 47
C:04B7H LINE# 49 C:0317H LINE# 48
C:04D4H LINE# 50 C:0334H LINE# 49
C:04E4H LINE# 51 C:0344H LINE# 50
C:04E6H LINE# 52 C:0346H LINE# 51
C:04E8H LINE# 53 C:0348H LINE# 52
C:04FFH LINE# 54 C:035FH LINE# 53
C:04FFH LINE# 55 C:035FH LINE# 54
C:04FFH LINE# 56 C:035FH LINE# 55
C:04FFH LINE# 57 C:035FH LINE# 56
C:04FFH LINE# 58 C:035FH LINE# 57
C:0502H LINE# 59 C:0362H LINE# 58
C:0505H LINE# 60 C:0365H LINE# 59
C:0508H LINE# 62 C:0368H LINE# 61
C:050FH LINE# 63 C:036FH LINE# 62
C:050FH LINE# 64 C:036FH LINE# 63
C:0511H LINE# 65 C:0371H LINE# 64
C:0513H LINE# 66 C:0373H LINE# 65
C:0516H LINE# 67 C:0376H LINE# 66
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 6 C:0379H LINE# 67
C:0396H LINE# 68
C:03A6H LINE# 69
C:0519H LINE# 68
C:0536H LINE# 69
C:0546H LINE# 70
------- ENDPROC CLEAR ------- ENDPROC CLEAR
------- PROC MINICLEAR ------- PROC MINICLEAR
------- DO ------- DO
X:0016H SYMBOL i X:0016H SYMBOL i
X:0018H SYMBOL j X:0018H SYMBOL j
------- ENDDO ------- ENDDO
C:0547H LINE# 73 C:03A7H LINE# 72
C:0547H LINE# 74 C:03A7H LINE# 73
C:0547H LINE# 76 C:03A7H LINE# 75
C:0549H LINE# 77 C:03A9H LINE# 76
C:054BH LINE# 78 C:03ABH LINE# 77
C:0562H LINE# 79 C:03C2H LINE# 78
C:0562H LINE# 80 BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 6
C:0562H LINE# 81
C:0562H LINE# 82
C:0562H LINE# 83 C:03C2H LINE# 79
C:0565H LINE# 84 C:03C2H LINE# 80
C:0568H LINE# 85 C:03C2H LINE# 81
C:056BH LINE# 87 C:03C2H LINE# 82
C:0572H LINE# 88 C:03C5H LINE# 83
C:0572H LINE# 89 C:03C8H LINE# 84
C:0574H LINE# 90 C:03CBH LINE# 86
C:0576H LINE# 91 C:03D2H LINE# 87
C:0579H LINE# 92 C:03D2H LINE# 88
C:057CH LINE# 93 C:03D4H LINE# 89
C:0599H LINE# 94 C:03D6H LINE# 90
C:05A9H LINE# 95 C:03D9H LINE# 91
C:05ABH LINE# 96 C:03DCH LINE# 92
C:05ADH LINE# 97 C:03F9H LINE# 93
C:05C4H LINE# 98 C:0409H LINE# 94
C:05C4H LINE# 99 C:040BH LINE# 95
C:05C4H LINE# 100 C:040DH LINE# 96
C:05C4H LINE# 101 C:0424H LINE# 97
C:05C4H LINE# 102 C:0424H LINE# 98
C:05C7H LINE# 103 C:0424H LINE# 99
C:05CAH LINE# 104 C:0424H LINE# 100
C:05CDH LINE# 106 C:0424H LINE# 101
C:05D4H LINE# 107 C:0427H LINE# 102
C:05D4H LINE# 108 C:042AH LINE# 103
C:05D6H LINE# 109 C:042DH LINE# 105
C:05D8H LINE# 110 C:0434H LINE# 106
C:05DBH LINE# 111 C:0434H LINE# 107
C:05DEH LINE# 112 C:0436H LINE# 108
C:05FBH LINE# 113 C:0438H LINE# 109
C:060BH LINE# 114 C:043BH LINE# 110
C:043EH LINE# 111
C:045BH LINE# 112
C:046BH LINE# 113
------- ENDPROC MINICLEAR ------- ENDPROC MINICLEAR
------- PROC DISPLAYINIT ------- PROC DISPLAYINIT
C:08F9H LINE# 115 C:0759H LINE# 114
C:08F9H LINE# 116 C:0759H LINE# 115
C:08F9H LINE# 117 C:0759H LINE# 116
C:08FBH LINE# 118 C:075BH LINE# 117
C:08FDH LINE# 119 C:075DH LINE# 118
C:08FFH LINE# 120 C:075FH LINE# 119
C:0901H LINE# 121 C:0761H LINE# 120
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 7 C:0763H LINE# 121
C:0766H LINE# 122
C:0769H LINE# 124
C:0903H LINE# 122 C:076BH LINE# 125
C:0906H LINE# 123 C:076DH LINE# 126
C:0909H LINE# 125 C:076FH LINE# 127
C:090BH LINE# 126 C:0772H LINE# 128
C:090DH LINE# 127
C:090FH LINE# 128
C:0912H LINE# 129
------- ENDPROC DISPLAYINIT ------- ENDPROC DISPLAYINIT
------- PROC TEST ------- PROC TEST
------- DO ------- DO
X:001AH SYMBOL i X:001AH SYMBOL i
X:001CH SYMBOL j X:001CH SYMBOL j
------- ENDDO ------- ENDDO
C:060CH LINE# 132 C:046CH LINE# 131
C:060CH LINE# 133 C:046CH LINE# 132
C:060CH LINE# 135 BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 7
C:060EH LINE# 136
C:0610H LINE# 137
C:0627H LINE# 138 C:046CH LINE# 134
C:0627H LINE# 139 C:046EH LINE# 135
C:0627H LINE# 140 C:0470H LINE# 136
C:0627H LINE# 141 C:0487H LINE# 137
C:0627H LINE# 142 C:0487H LINE# 138
C:062AH LINE# 143 C:0487H LINE# 139
C:062DH LINE# 144 C:0487H LINE# 140
C:0630H LINE# 146 C:0487H LINE# 141
C:0637H LINE# 147 C:048AH LINE# 142
C:0637H LINE# 148 C:048DH LINE# 143
C:0639H LINE# 149 C:0490H LINE# 145
C:063BH LINE# 150 C:0497H LINE# 146
C:063EH LINE# 151 C:0497H LINE# 147
C:0641H LINE# 152 C:0499H LINE# 148
C:065EH LINE# 153 C:049BH LINE# 149
C:066EH LINE# 154 C:049EH LINE# 150
C:0670H LINE# 155 C:04A1H LINE# 151
C:0672H LINE# 156 C:04BEH LINE# 152
C:0689H LINE# 157 C:04CEH LINE# 153
C:0689H LINE# 158 C:04D0H LINE# 154
C:0689H LINE# 159 C:04D2H LINE# 155
C:0689H LINE# 160 C:04E9H LINE# 156
C:0689H LINE# 161 C:04E9H LINE# 157
C:068CH LINE# 162 C:04E9H LINE# 158
C:068FH LINE# 163 C:04E9H LINE# 159
C:0692H LINE# 165 C:04E9H LINE# 160
C:0699H LINE# 166 C:04ECH LINE# 161
C:0699H LINE# 167 C:04EFH LINE# 162
C:069BH LINE# 168 C:04F2H LINE# 164
C:069DH LINE# 169 C:04F9H LINE# 165
C:06A0H LINE# 170 C:04F9H LINE# 166
C:06A3H LINE# 171 C:04FBH LINE# 167
C:06C0H LINE# 172 C:04FDH LINE# 168
C:06D0H LINE# 173 C:0500H LINE# 169
C:0503H LINE# 170
C:0520H LINE# 171
C:0530H LINE# 172
------- ENDPROC TEST ------- ENDPROC TEST
------- ENDMOD DISPLAY ------- ENDMOD DISPLAY
------- MODULE DRAW ------- MODULE DRAW
C:0000H SYMBOL _ICE_DUMMY_ C:0000H SYMBOL _ICE_DUMMY_
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 8
D:0090H PUBLIC P1 D:0090H PUBLIC P1
D:00A0H PUBLIC P2
D:00B0H PUBLIC P3 D:00B0H PUBLIC P3
D:00A8H PUBLIC IE D:00A8H PUBLIC IE
D:00B8H PUBLIC IP D:00B8H PUBLIC IP
B:00B0H.0 PUBLIC RS B:00A0H.0 PUBLIC RS
B:00B0H.1 PUBLIC RW B:00A0H.1 PUBLIC RW
D:0098H PUBLIC SCON D:0098H PUBLIC SCON
D:0088H PUBLIC TCON D:0088H PUBLIC TCON
C:0303H PUBLIC NUMBER_RPAGE0 C:0163H PUBLIC NUMBER_RPAGE0
C:0323H PUBLIC NUMBER_RPAGE1 C:0183H PUBLIC NUMBER_RPAGE1
C:01A3H PUBLIC NAME_PAGE0 C:0003H PUBLIC NAME_PAGE0
C:01D3H PUBLIC NAME_PAGE1 C:0033H PUBLIC NAME_PAGE1
C:06D1H PUBLIC drawNAME C:0531H PUBLIC drawNAME
B:00B0H.4 PUBLIC CSA B:00A0H.4 PUBLIC CSA
B:00B0H.5 PUBLIC CSB BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 8
B:00A0H.5 PUBLIC CSB
D:00C8H PUBLIC T2CON D:00C8H PUBLIC T2CON
D:00D0H PUBLIC PSW D:00D0H PUBLIC PSW
C:0203H PUBLIC NUMBER_PAGE0 C:0063H PUBLIC NUMBER_PAGE0
C:0283H PUBLIC NUMBER_PAGE1 C:00E3H PUBLIC NUMBER_PAGE1
C:0343H PUBLIC drawNUMBER C:01A3H PUBLIC drawNUMBER
------- PROC DRAWNUMBER ------- PROC DRAWNUMBER
------- DO ------- DO
X:0012H SYMBOL j X:0012H SYMBOL j
------- ENDDO ------- ENDDO
C:0343H LINE# 12 C:01A3H LINE# 12
C:0343H LINE# 13 C:01A3H LINE# 13
C:0343H LINE# 15 C:01A3H LINE# 15
C:034AH LINE# 16 C:01AAH LINE# 16
C:034AH LINE# 19 C:01AAH LINE# 19
C:034CH LINE# 20 C:01ACH LINE# 20
C:034EH LINE# 21 C:01AEH LINE# 21
C:0350H LINE# 22 C:01B0H LINE# 22
C:0352H LINE# 23 C:01B2H LINE# 23
C:0355H LINE# 24 C:01B5H LINE# 24
C:0358H LINE# 25 C:01B8H LINE# 25
C:0361H LINE# 26 C:01C1H LINE# 26
C:0364H LINE# 28 C:01C4H LINE# 28
C:0366H LINE# 29 C:01C6H LINE# 29
C:0368H LINE# 30 C:01C8H LINE# 30
C:0385H LINE# 31 C:01E5H LINE# 31
C:0388H LINE# 33 C:01E8H LINE# 33
C:038AH LINE# 34 C:01EAH LINE# 34
C:038CH LINE# 35 C:01ECH LINE# 35
C:038FH LINE# 36 C:01EFH LINE# 36
C:0392H LINE# 37 C:01F2H LINE# 37
C:039BH LINE# 38 C:01FBH LINE# 38
C:039EH LINE# 40 C:01FEH LINE# 40
C:03A0H LINE# 41 C:0200H LINE# 41
C:03A2H LINE# 42 C:0202H LINE# 42
C:03BFH LINE# 43 C:021FH LINE# 43
C:03C2H LINE# 46 C:0222H LINE# 46
C:03E2H LINE# 47 C:0242H LINE# 47
C:03E9H LINE# 48 C:0249H LINE# 48
C:03E9H LINE# 51 C:0249H LINE# 51
C:03EBH LINE# 52 C:024BH LINE# 52
C:03EDH LINE# 53 C:024DH LINE# 53
C:03EFH LINE# 54 C:024FH LINE# 54
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 9 C:0251H LINE# 55
C:0254H LINE# 56
C:0257H LINE# 57
C:0260H LINE# 58
C:0263H LINE# 60
C:0265H LINE# 61
C:0267H LINE# 62
C:0284H LINE# 63
C:0287H LINE# 65
C:0289H LINE# 66
C:028BH LINE# 67
C:028EH LINE# 68
C:0291H LINE# 69
C:029AH LINE# 70
BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 9
C:03F1H LINE# 55 C:029DH LINE# 72
C:03F4H LINE# 56 C:029FH LINE# 73
C:03F7H LINE# 57 C:02A1H LINE# 74
C:0400H LINE# 58 C:02BEH LINE# 75
C:0403H LINE# 60 C:02C1H LINE# 78
C:0405H LINE# 61 C:02E1H LINE# 79
C:0407H LINE# 62
C:0424H LINE# 63
C:0427H LINE# 65
C:0429H LINE# 66
C:042BH LINE# 67
C:042EH LINE# 68
C:0431H LINE# 69
C:043AH LINE# 70
C:043DH LINE# 72
C:043FH LINE# 73
C:0441H LINE# 74
C:045EH LINE# 75
C:0461H LINE# 78
C:0481H LINE# 79
------- ENDPROC DRAWNUMBER ------- ENDPROC DRAWNUMBER
------- PROC DRAWNAME ------- PROC DRAWNAME
------- DO ------- DO
X:0012H SYMBOL j X:0012H SYMBOL j
------- ENDDO ------- ENDDO
C:06D1H LINE# 81 C:0531H LINE# 81
C:06D1H LINE# 82 C:0531H LINE# 82
C:06D1H LINE# 85 C:0531H LINE# 85
C:06D8H LINE# 86 C:0538H LINE# 86
C:06D8H LINE# 89 C:0538H LINE# 89
C:06DAH LINE# 90 C:053AH LINE# 90
C:06DCH LINE# 91 C:053CH LINE# 91
C:06DEH LINE# 92 C:053EH LINE# 92
C:06E0H LINE# 93 C:0540H LINE# 93
C:06E3H LINE# 94 C:0543H LINE# 94
C:06E6H LINE# 95 C:0546H LINE# 95
C:06EFH LINE# 96 C:054FH LINE# 96
C:06F2H LINE# 98 C:0552H LINE# 98
C:06F4H LINE# 99 C:0554H LINE# 99
C:06F6H LINE# 100 C:0556H LINE# 100
C:070AH LINE# 101 C:056AH LINE# 101
C:070DH LINE# 103 C:056DH LINE# 103
C:070FH LINE# 104 C:056FH LINE# 104
C:0711H LINE# 105 C:0571H LINE# 105
C:0714H LINE# 106 C:0574H LINE# 106
C:0717H LINE# 107 C:0577H LINE# 107
C:0720H LINE# 108 C:0580H LINE# 108
C:0723H LINE# 110 C:0583H LINE# 110
C:0725H LINE# 111 C:0585H LINE# 111
C:0727H LINE# 112 C:0587H LINE# 112
C:073BH LINE# 113 C:059BH LINE# 113
C:073EH LINE# 116 C:059EH LINE# 116
C:075EH LINE# 117 C:05BEH LINE# 117
------- ENDPROC DRAWNAME ------- ENDPROC DRAWNAME
------- ENDMOD DRAW ------- ENDMOD DRAW
------- MODULE ?C?PLDPTR ------- MODULE ?C?PLDPTR
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 10 C:064BH PUBLIC ?C?PLDPTR
C:07EBH PUBLIC ?C?PLDPTR
------- ENDMOD ?C?PLDPTR ------- ENDMOD ?C?PLDPTR
------- MODULE ?C?PLDOPTR ------- MODULE ?C?PLDOPTR
C:080BH PUBLIC ?C?PLDOPTR C:066BH PUBLIC ?C?PLDOPTR
------- ENDMOD ?C?PLDOPTR ------- ENDMOD ?C?PLDOPTR
------- MODULE ?C?ICALL ------- MODULE ?C?ICALL
C:083BH PUBLIC ?C?ICALL C:069BH PUBLIC ?C?ICALL
C:083FH PUBLIC ?C?ICALL2 C:069FH PUBLIC ?C?ICALL2
------- ENDMOD ?C?ICALL ------- ENDMOD ?C?ICALL
------- MODULE ?C?PLDIDATA ------- MODULE ?C?PLDIDATA
C:0841H PUBLIC ?C?PLDIDATA C:06A1H PUBLIC ?C?PLDIDATA
BL51 BANKED LINKER/LOCATER V6.22.2.0 06/04/2022 22:36:38 PAGE 10
------- ENDMOD ?C?PLDIDATA ------- ENDMOD ?C?PLDIDATA
------- MODULE ?C?PLDXDATA ------- MODULE ?C?PLDXDATA
C:084AH PUBLIC ?C?PLDXDATA C:06AAH PUBLIC ?C?PLDXDATA
------- ENDMOD ?C?PLDXDATA ------- ENDMOD ?C?PLDXDATA
------- MODULE ?C?PLDPDATA ------- MODULE ?C?PLDPDATA
C:0853H PUBLIC ?C?PLDPDATA C:06B3H PUBLIC ?C?PLDPDATA
------- ENDMOD ?C?PLDPDATA ------- ENDMOD ?C?PLDPDATA
------- MODULE ?C?PLDCODE ------- MODULE ?C?PLDCODE
C:085CH PUBLIC ?C?PLDCODE C:06BCH PUBLIC ?C?PLDCODE
------- ENDMOD ?C?PLDCODE ------- ENDMOD ?C?PLDCODE
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: NUMBER_RPAGE1
MODULE: .\Objects\draw.obj (DRAW)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: NUMBER_RPAGE0
MODULE: .\Objects\draw.obj (DRAW)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: NUMBER_PAGE1
MODULE: .\Objects\draw.obj (DRAW)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: NUMBER_PAGE0
MODULE: .\Objects\draw.obj (DRAW)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: NAME_PAGE1
MODULE: .\Objects\draw.obj (DRAW)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: NAME_PAGE0
MODULE: .\Objects\draw.obj (DRAW)
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?DELAY100US?DELAY SEGMENT: ?PR?DELAY100US?DELAY
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?MINICLEAR?DISPLAY SEGMENT: ?PR?MINICLEAR?DISPLAY
BL51 BANKED LINKER/LOCATER V6.22.2.0 05/19/2022 21:13:03 PAGE 11
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?TEST?DISPLAY SEGMENT: ?PR?TEST?DISPLAY
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS Program Size: data=9.0 xdata=30 code=1970
SEGMENT: ?CO?DISPLAY LINK/LOCATE RUN COMPLETE. 3 WARNING(S), 0 ERROR(S)
Program Size: data=9.0 xdata=30 code=2386
LINK/LOCATE RUN COMPLETE. 4 WARNING(S), 6 ERROR(S)

View file

@ -1,17 +1,16 @@
#include <reg52.h> #include <reg52.h>
#include "display.h" #include "display.h"
#include "delay.h" #include "delay.h"
#include "img.h"
// DB P1 // DB P1
// CTL P3 // CTL P3
sbit RS = P3 ^ 0; sbit RS = P2 ^ 0;
sbit RW = P3 ^ 1; sbit RW = P2 ^ 1;
sbit E = P3 ^ 2; sbit E = P2 ^ 2;
sbit CSA = P3 ^ 4; sbit CSA = P2 ^ 4;
sbit CSB = P3 ^ 5; sbit CSB = P2 ^ 5;

View file

@ -3,11 +3,11 @@
#include "draw.h" #include "draw.h"
#include <reg52.h> #include <reg52.h>
sbit RS = P3 ^ 0; sbit RS = P2 ^ 0;
sbit RW = P3 ^ 1; sbit RW = P2 ^ 1;
sbit E = P3 ^ 2; sbit E = P2 ^ 2;
sbit CSA = P3 ^ 4; sbit CSA = P2 ^ 4;
sbit CSB = P3 ^ 5; sbit CSB = P2 ^ 5;
void drawNUMBER() void drawNUMBER()
{ {

View file

@ -1,2 +1,7 @@
#ifndef _DRAW_H_
#define _DRAW_H_
void drawNAME(); void drawNAME();
void drawNUMBER(); void drawNUMBER();
#endif

View file

@ -1,3 +1,6 @@
#ifndef _IMG_H_
#define _IMG_H_
code unsigned char NAME_PAGE0[] = code unsigned char NAME_PAGE0[] =
{ {
0x10, 0x60, 0x02, 0x0C, 0xC0, 0x04, 0x04, 0x04, 0x04, 0xFC, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00, 0x10, 0x60, 0x02, 0x0C, 0xC0, 0x04, 0x04, 0x04, 0x04, 0xFC, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00,
@ -89,3 +92,5 @@ code unsigned NUMBER_RPAGE1[]=
//{ //{
// setCommand(0x40 + p); // setCommand(0x40 + p);
//} //}
#endif

View file

@ -6,11 +6,11 @@
extern Menu *NOW; extern Menu *NOW;
sbit RS = P3 ^ 0; sbit RS = P2 ^ 0;
sbit RW = P3 ^ 1; sbit RW = P2 ^ 1;
sbit E = P3 ^ 2; sbit E = P2 ^ 2;
sbit CSA = P3 ^ 4; sbit CSA = P2 ^ 4;
sbit CSB = P3 ^ 5; sbit CSB = P2 ^ 5;
int main() int main()