31A0 192 call symbol
E 743A 195 mov A, # 3Ah
31A0 196 call symbol
EC 199 mov A, R4
2430 200 add A, # 30h
31A0 201 call symbol
202
7400 204 mov A, # 00h
31A0 205 call symbol
B 7432 208 mov A, # 32h
D 31A0 209 call symbol
F 743A 212 mov A, # 3Ah
31A0 213 call symbol
ED 216 mov A, R5
2430 218 add A, # 30h
31A0 219 call symbol
7400 221 mov A, # 00h
A 31A0 222 call symbol
C 7433 224 mov A, # 33h
E 31A0 225 call symbol
743A 228 mov A, # 3Ah
31A0 229 call symbol
EE 231 mov A, R6
2430 233 add A, # 30h
31A0 234 call symbol
7400 236 mov A, # 00h
B 31A0 237 call symbol
D 7434 239 mov A, # 34h
F 31A0 240 call symbol
743A 242 mov A, # 3Ah
31A0 243 call symbol
EF 246 mov A, R7
2430 248 add A, # 30h
31A0 249 call symbol
A D2D5 251 setb F0 ??p>
C 32252 reti
D 254 gotovo:
D C2D5 255 clr F0 ??p>
F C28D 257 clr TF0 ??p>
C28F 258 clr TF1
758C00 259 mov TH0, # 0
758A00 260 mov TL0, # 0
758D00 261 mov TH1, # 0
C 758B00 262 mov TL1, # 0
F 900000 263 mov DPTR, # 0000h
C2A0 264 clr P2.0
31B4 265 call twosecdelay
D2A0 266 setb P2.0
C28D 267 clr TF0 ??p>
A C28F 268 clr TF1
C 758C00 269 mov TH0, # 0
F 758A00 270 mov TL0, # 0
758D00 271 mov TH1, # 0
758B00 272 mov TL1, # 0
900000 273 mov DPTR, # 0000h
B C2A0 274 ??clr P2.0
D 31B4 275 call twosecdelay
F D2A0 276 setb P2.0
3092FD 277 jnb P1.2, $
020043 278 ljmp start
280 LSDsetup:
7800 281 mov R0, # CMD
C290 282 clr RS
B C291 283 clr RW
D F2 284 movx @ R0, A
E 8009 285 jmp Busy
A0 287 symbol:
A0 7801 288 mov R0, #DAT
A2 D290 289 setb RS
A4 C291 290 clr RW
A6 F2 291 movx @ R0, A
A7 +8000 292 jmp Busy
A9 294 Busy:
A9 7802 295 mov R0, #BUS
AB C290 296 clr RS
AD D291 297 setb RW
AF E2 298 movx A, @ R0
B0 20E7F6 299 jb ACC.7, Busy
B3 22300 ret
B4 302 twosecdelay:
B4 758CF8 303 mov TH0, # high (- 2000)
B7 758A30 304 mov TL0, # low (- 2000)
BA D28C 305 setb TR0
BC 308DFD 306 jnb TF0, $
BF C28C 307 clr TR0
C1 C28D 308 clr TF0 ??p>
C3 22309 ret
end
A51 MACRO ASSEMBLER KURS 05/15/2014 19:45:29 PAGE 6
SYMBOL TABLE LISTING
----- ----- ------- AMETYPEVALUE ATTRIBUTES........ D ADDR 00E0H A....... C ADDR 009DH A........ N NUMB 0002H A....... C ADDR 01A9H A....... C ADDR 0078H A........ N NUMB 0000H A........ N NUMB 0001H A........ D ADDR 0083H A........ D ADDR 0082H A........ B ADDR 00A8H.7 A........ B ADDR 00A8H.3 A........ B ADDR 00D0H.5 A...... C ADDR 015DH A...... C ADDR 0076H A........ C ADDR 0071H A...... C ADDR 010FH A.... C ADDR 0109H A...... C ADDR 00E9H A...... C ADDR 00C3H A.... C ADDR 0097H A.... C ADDR 00BDH A.... C ADDR 00E3H A....... C ADDR 011AH A....... C ADDR 0030H A..... C ADDR 0197H A.. C ADDR 0105H A... C ADDR 0093H A... C ADDR 00B9H A... C ADDR 00DFH A........ D...