Subversion Repositories svnkaklik

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  1
2
 
3
 
4
LOC  OBJECT CODE     LINE SOURCE TEXT
5
  VALUE
6
 
7
                      00001 #include 16C84.INC
8
                      00001 ;
9
                      00002 ; Definice registru a zakladnich maker pro 16C84
10
                      00003 ;
11
                      00004                 processor       16f84
12
                      00005                 radix   D
13
                      00006 
14
0000                  00007 __16C84__:      ; Priznak modulu 16C84
15
                      00008 
16
                      00009 ; Definice registru
17
                      00010 
18
  00000000            00011 IND0            equ     00H     ; 0&1 Pristup na neprimou adresu
19
  00000001            00012 TMR0            equ     01H     ; 0   Real Time clock counter
20
  00000002            00013 PCL             equ     02H     ; 0&1 Spodni cast PC
21
  00000003            00014 STATUS          equ     03H     ; 0&1 Stavove bity
22
  00000000            00015 _CARRY                          equ     0
23
  00000001            00016 _DC                             equ     1
24
  00000002            00017 _ZERO                           equ     2
25
  00000003            00018 _PD                             equ     3
26
  00000004            00019 _TO                             equ     4
27
  00000005            00020 _RP0                            equ     5
28
  00000006            00021 _RP1                            equ     6
29
  00000007            00022 _IRP                            equ     7
30
  00000004            00023 FSR             equ     04H     ; 0&1 Ukazatel pro neprime adresovani
31
  00000005            00024 PORTA           equ     05H     ; 0&1 Data a rizeni portu A
32
  00000006            00025 PORTB           equ     06H     ; 0&1 Data a rizeni portu B
33
  00000008            00026 EEDATA_0        equ     08H     ; 0   Data EEPROM
34
  00000008            00027 EECON1_1        equ     08H     ;   1 Rizeni EEPROM
35
  00000000            00028 _EERD                           equ     0
36
  00000001            00029 _EEWR                           equ     1
37
  00000002            00030 _EEWREN                         equ     2
38
  00000003            00031 _EEWRERR                        equ     3
39
  00000004            00032 _EEIF                           equ     4
40
  00000009            00033 EEADR_0         equ     09H     ; 0   Adresa EEPROM
41
  00000009            00034 EECON2_1        equ     09H     ;   1 Aktivacni pseudoregistr
42
  0000000A            00035 PCLATH          equ     0AH     ; 0&1 Horni cast PC pro move
43
  0000000B            00036 INTCON          equ     0BH     ; 0&1 Rizeni preruseni
44
  00000000            00037 _RBIF                           equ     0       ;
45
  00000001            00038 _INTF                           equ     1
46
  00000002            00039 _T0IF                           equ     2
47
  00000003            00040 _RBIE                           equ     3
48
  00000004            00041 _INTE                           equ     4
49
  00000005            00042 _T0IE                           equ     5
50
  00000006            00043 _EEIE                           equ     6
51
  00000007            00044 _GIE                            equ     7
52
                      00045 
53
                      00046 page0   macro
54
                      00047         bcf     STATUS,_RP0
55
                      00048         endm
56
                      00049 
57
                      00050 page1   macro
58
                      00051         bsf     STATUS,_RP0
59
                      00052         endm
60
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  2
61
 
62
 
63
LOC  OBJECT CODE     LINE SOURCE TEXT
64
  VALUE
65
 
66
                      00053 ;
67
                      00054 ; Sada maker pro porovnani a skoky
68
                      00055 ;
69
                      00056 
70
                      00057 ;--- Compare ---
71
                      00058 CMP     macro   ZNAK, PROCEDURA         ; if W=ZNAK then goto PROCEDURA
72
                      00059         xorlw   ZNAK                    ; if W#ZNAK then zachovej W a neskakej
73
                      00060         btfsc   STATUS,_ZERO
74
                      00061         goto    PROCEDURA
75
                      00062         xorlw   ZNAK
76
                      00063         endm
77
                      00064 
78
                      00065 ;--- Skip if Carry ---
79
                      00066 SC      macro
80
                      00067         btfss   STATUS,_CARRY
81
                      00068         endm
82
                      00069 
83
                      00070 ;--- Skip if not Carry ---
84
                      00071 SNC     macro
85
                      00072         btfsc   STATUS,_CARRY
86
                      00073         endm
87
                      00074 
88
                      00075 ;--- Skip if Zero ---
89
                      00076 SZ      macro
90
                      00077         btfss   STATUS,_ZERO
91
                      00078         endm
92
                      00079 
93
                      00080 ;--- Skip if not Zero ---
94
                      00081 SNZ     macro
95
                      00082         btfsc   STATUS,_ZERO
96
                      00083         endm
97
                      00084 
98
                      00085 ;--- Skip if Borrow ( Negative ) --- ( po odecitani )
99
                      00086 SB      macro
100
                      00087         btsfsc  STATUS,_CARRY
101
                      00088         endm
102
                      00089 SN      macro
103
                      00090         btfsc   STATUS,_CARRY
104
                      00091         endm
105
                      00092 
106
                      00093 ;--- Skip if not Borrow ( Positive ) --- ( po odecitani )
107
                      00094 SNB     macro
108
                      00095         btfss   STATUS,_CARRY
109
                      00096         endm
110
                      00097 SP      macro
111
                      00098         btfss   STATUS,_CARRY
112
                      00099         endm
113
                      00100 
114
                      00101         cblock  0CH             ; Prvni volny registr
115
                      00102         endc
116
                      00002 
117
                      00003 #define debug   0
118
                      00004 
119
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  3
120
 
121
 
122
LOC  OBJECT CODE     LINE SOURCE TEXT
123
  VALUE
124
 
125
                      00005 #include delaymac.inc
126
                      00001 ;--- Macro na spozdeni 1ms az 255ms ---
127
                      00002 Delay1ms macro  _ms
128
                      00003  if debug == 0
129
                      00004         movlw   _ms     
130
                      00005         movwf   _delay_ms
131
                      00006         call    _delay1ms       
132
                      00007  endif
133
                      00008         endm
134
                      00009 
135
                      00010 ;--- Macro na spozdeni 10us az 2,55ms ---
136
                      00011 Delay10us macro _us
137
                      00012  if debug == 0
138
                      00013         movlw   _us     
139
                      00014         movwf   _delay_us
140
                      00015         call    _delay10us      
141
                      00016  endif
142
                      00017         endm
143
                      00018 
144
                      00006 
145
  00000001            00007 Dozadu  EQU     1
146
  00000002            00008 Dopredu EQU     2
147
                      00009 
148
                      00010 ;--- Macro na spozdeni 1ms az 255ms ---
149
                      00011 Delay   macro   ms
150
                      00012         Delay1ms ms
151
                      00013 ;       movlw   ms
152
                      00014 ;       movwf   _delay_ms
153
                      00015 ;       call    _delay1ms
154
                      00016         endm
155
                      00017 ;--------------------------------------
156
                      00018 Vpred_ON macro
157
                      00019         bsf     PORTA, Dopredu
158
                      00020         endm
159
                      00021 ;--------------------------------------
160
                      00022 Vpred_OFF macro
161
                      00023         bcf     PORTA, Dopredu
162
                      00024         Delay   50
163
                      00025         bsf     PORTA, Dozadu           ;zabrzdi
164
                      00026         Delay   125
165
                      00027         bcf     PORTA, Dozadu
166
                      00028         endm
167
                      00029 ;--------------------------------------
168
                      00030 Vpred   macro   d
169
                      00031         movlw   d               ; x dlazdicek
170
                      00032         movwf   CT3
171
                      00033         call    Vpred0
172
                      00034         endm
173
                      00035 
174
                      00036 ;--------------------------------------
175
0000                  00037         org     0
176
                      00038 
177
0000   2804           00039         goto    Start
178
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  4
179
 
180
 
181
LOC  OBJECT CODE     LINE SOURCE TEXT
182
  VALUE
183
 
184
                      00040         ;--------------------
185
0004                  00041         org     4
186
                      00042         ;--------------------
187
0004                  00043 Start:
188
                      00044         page1
189
0004   1683               M         bsf     STATUS,_RP0
190
0005   3000           00045         movlw   00000000B       ; inicializace citace a prescaleru
191
0006   0081           00046         movwf   TMR0
192
0007   3000           00047         movlw   00000000B       ; konfigurace preruseni
193
0008   008B           00048         movwf   INTCON
194
                      00049 
195
                      00050         page1
196
0009   1683               M         bsf     STATUS,_RP0
197
000A   30F1           00051         movlw   11110001B       ; nastaveni portu na vstup nebo vystup
198
000B   0085           00052         movwf   PORTA           ; 1=vstup 0=vystup
199
000C   30F6           00053         movlw   11110110B
200
000D   0086           00054         movwf   PORTB
201
                      00055 
202
000E   1781           00056         bsf     TMR0, 7         ; vypni pull-up na PORTB (OPTION registr)
203
                      00057 
204
                      00058         page0
205
000F   1283               M         bcf     STATUS,_RP0
206
                      00059 
207
0010   0103           00060         clrw                    ; vynulovani portu
208
0011   0085           00061         movwf   PORTA
209
0012   0086           00062         movwf   PORTB
210
                      00063 
211
0013   1586           00064         bsf     PORTB, 3        ; Pridrz napajeni
212
                      00065 
213
0014   1585           00066         bsf     PORTA, 3        ; Rozsvit LED
214
                      00067         Delay   250
215
                          M         Delay1ms 250
216
                          M  if debug == 0
217
0015   30FA               M         movlw   250     
218
0016   008C               M         movwf   _delay_ms
219
0017   207F               M         call    _delay1ms       
220
                          M  endif
221
                          M ;       movlw   ms
222
                          M ;       movwf   _delay_ms
223
                          M ;       call    _delay1ms
224
0018   1185           00068         bcf     PORTA, 3        ; Zhasni LED
225
                      00069 
226
0019                  00070 MainLoop:
227
                      00071         Vpred   12
228
0019   300C               M         movlw   12              ; x dlazdicek
229
001A   008E               M         movwf   CT3
230
001B   204A               M         call    Vpred0
231
                      00072         Delay   200
232
                          M         Delay1ms 200
233
                          M  if debug == 0
234
001C   30C8               M         movlw   200     
235
001D   008C               M         movwf   _delay_ms
236
001E   207F               M         call    _delay1ms       
237
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  5
238
 
239
 
240
LOC  OBJECT CODE     LINE SOURCE TEXT
241
  VALUE
242
 
243
                          M  endif
244
                          M ;       movlw   ms
245
                          M ;       movwf   _delay_ms
246
                          M ;       call    _delay1ms
247
001F   206E           00073         call    Celemvzat
248
                      00074         Delay   50
249
                          M         Delay1ms 50
250
                          M  if debug == 0
251
0020   3032               M         movlw   50      
252
0021   008C               M         movwf   _delay_ms
253
0022   207F               M         call    _delay1ms       
254
                          M  endif
255
                          M ;       movlw   ms
256
                          M ;       movwf   _delay_ms
257
                          M ;       call    _delay1ms
258
                      00075         Vpred   8
259
0023   3008               M         movlw   8               ; x dlazdicek
260
0024   008E               M         movwf   CT3
261
0025   204A               M         call    Vpred0
262
                      00076         Delay   50
263
                          M         Delay1ms 50
264
                          M  if debug == 0
265
0026   3032               M         movlw   50      
266
0027   008C               M         movwf   _delay_ms
267
0028   207F               M         call    _delay1ms       
268
                          M  endif
269
                          M ;       movlw   ms
270
                          M ;       movwf   _delay_ms
271
                          M ;       call    _delay1ms
272
0029   2075           00077         call    Vlevo
273
                      00078         Vpred   8
274
002A   3008               M         movlw   8               ; x dlazdicek
275
002B   008E               M         movwf   CT3
276
002C   204A               M         call    Vpred0
277
                      00079         Delay   50
278
                          M         Delay1ms 50
279
                          M  if debug == 0
280
002D   3032               M         movlw   50      
281
002E   008C               M         movwf   _delay_ms
282
002F   207F               M         call    _delay1ms       
283
                          M  endif
284
                          M ;       movlw   ms
285
                          M ;       movwf   _delay_ms
286
                          M ;       call    _delay1ms
287
                      00080         Vpred   1
288
0030   3001               M         movlw   1               ; x dlazdicek
289
0031   008E               M         movwf   CT3
290
0032   204A               M         call    Vpred0
291
                      00081         Delay   50
292
                          M         Delay1ms 50
293
                          M  if debug == 0
294
0033   3032               M         movlw   50      
295
0034   008C               M         movwf   _delay_ms
296
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  6
297
 
298
 
299
LOC  OBJECT CODE     LINE SOURCE TEXT
300
  VALUE
301
 
302
0035   207F               M         call    _delay1ms       
303
                          M  endif
304
                          M ;       movlw   ms
305
                          M ;       movwf   _delay_ms
306
                          M ;       call    _delay1ms
307
0036   2065           00082         call    Vpravo
308
                      00083         Delay   50
309
                          M         Delay1ms 50
310
                          M  if debug == 0
311
0037   3032               M         movlw   50      
312
0038   008C               M         movwf   _delay_ms
313
0039   207F               M         call    _delay1ms       
314
                          M  endif
315
                          M ;       movlw   ms
316
                          M ;       movwf   _delay_ms
317
                          M ;       call    _delay1ms
318
                      00084         Vpred   8
319
003A   3008               M         movlw   8               ; x dlazdicek
320
003B   008E               M         movwf   CT3
321
003C   204A               M         call    Vpred0
322
                      00085         Delay   50
323
                          M         Delay1ms 50
324
                          M  if debug == 0
325
003D   3032               M         movlw   50      
326
003E   008C               M         movwf   _delay_ms
327
003F   207F               M         call    _delay1ms       
328
                          M  endif
329
                          M ;       movlw   ms
330
                          M ;       movwf   _delay_ms
331
                          M ;       call    _delay1ms
332
0040   2075           00086         call    Vlevo
333
                      00087         Delay   50
334
                          M         Delay1ms 50
335
                          M  if debug == 0
336
0041   3032               M         movlw   50      
337
0042   008C               M         movwf   _delay_ms
338
0043   207F               M         call    _delay1ms       
339
                          M  endif
340
                          M ;       movlw   ms
341
                          M ;       movwf   _delay_ms
342
                          M ;       call    _delay1ms
343
                      00088         Vpred   3
344
0044   3003               M         movlw   3               ; x dlazdicek
345
0045   008E               M         movwf   CT3
346
0046   204A               M         call    Vpred0
347
0047   206E           00089         call    Celemvzat
348
0048   1186           00090         bcf     PORTB, 3        ; Vypni napajeni
349
0049                  00091 Smycka:
350
0049   2849           00092         goto    Smycka
351
                      00093         ;----------------  
352
                      00094 
353
                      00095 ;--- Popojede o n dlazdic vpred ---
354
004A                  00096 Vpred0:
355
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  7
356
 
357
 
358
LOC  OBJECT CODE     LINE SOURCE TEXT
359
  VALUE
360
 
361
                      00097         Vpred_ON
362
004A   1505               M         bsf     PORTA, Dopredu
363
                      00098         Delay   175
364
                          M         Delay1ms 175
365
                          M  if debug == 0
366
004B   30AF               M         movlw   175     
367
004C   008C               M         movwf   _delay_ms
368
004D   207F               M         call    _delay1ms       
369
                          M  endif
370
                          M ;       movlw   ms
371
                          M ;       movwf   _delay_ms
372
                          M ;       call    _delay1ms
373
004E   1406           00099         bsf     PORTB, 0
374
                      00100         Delay   15
375
                          M         Delay1ms 15
376
                          M  if debug == 0
377
004F   300F               M         movlw   15      
378
0050   008C               M         movwf   _delay_ms
379
0051   207F               M         call    _delay1ms       
380
                          M  endif
381
                          M ;       movlw   ms
382
                          M ;       movwf   _delay_ms
383
                          M ;       call    _delay1ms
384
0052   1006           00101         bcf     PORTB, 0
385
                      00102         Delay   175
386
                          M         Delay1ms 175
387
                          M  if debug == 0
388
0053   30AF               M         movlw   175     
389
0054   008C               M         movwf   _delay_ms
390
0055   207F               M         call    _delay1ms       
391
                          M  endif
392
                          M ;       movlw   ms
393
                          M ;       movwf   _delay_ms
394
                          M ;       call    _delay1ms
395
                      00103         Vpred_OFF
396
0056   1105               M         bcf     PORTA, Dopredu
397
                          M         Delay   50
398
                          M         Delay1ms 50
399
                          M  if debug == 0
400
0057   3032               M         movlw   50      
401
0058   008C               M         movwf   _delay_ms
402
0059   207F               M         call    _delay1ms       
403
                          M  endif
404
                          M ;       movlw   ms
405
                          M ;       movwf   _delay_ms
406
                          M ;       call    _delay1ms
407
005A   1485               M         bsf     PORTA, Dozadu           ;zabrzdi
408
                          M         Delay   125
409
                          M         Delay1ms 125
410
                          M  if debug == 0
411
005B   307D               M         movlw   125     
412
005C   008C               M         movwf   _delay_ms
413
005D   207F               M         call    _delay1ms       
414
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  8
415
 
416
 
417
LOC  OBJECT CODE     LINE SOURCE TEXT
418
  VALUE
419
 
420
                          M  endif
421
                          M ;       movlw   ms
422
                          M ;       movwf   _delay_ms
423
                          M ;       call    _delay1ms
424
005E   1085               M         bcf     PORTA, Dozadu
425
                      00104         Delay   50
426
                          M         Delay1ms 50
427
                          M  if debug == 0
428
005F   3032               M         movlw   50      
429
0060   008C               M         movwf   _delay_ms
430
0061   207F               M         call    _delay1ms       
431
                          M  endif
432
                          M ;       movlw   ms
433
                          M ;       movwf   _delay_ms
434
                          M ;       call    _delay1ms
435
0062   0B8E           00105         decfsz  CT3, f
436
0063   284A           00106         goto    Vpred0
437
0064   0008           00107         return
438
                      00108 
439
0065                  00109 Vpravo:
440
0065   1406           00110         bsf     PORTB, 0
441
                      00111         Delay   250
442
                          M         Delay1ms 250
443
                          M  if debug == 0
444
0066   30FA               M         movlw   250     
445
0067   008C               M         movwf   _delay_ms
446
0068   207F               M         call    _delay1ms       
447
                          M  endif
448
                          M ;       movlw   ms
449
                          M ;       movwf   _delay_ms
450
                          M ;       call    _delay1ms
451
                      00112         Delay   60
452
                          M         Delay1ms 60
453
                          M  if debug == 0
454
0069   303C               M         movlw   60      
455
006A   008C               M         movwf   _delay_ms
456
006B   207F               M         call    _delay1ms       
457
                          M  endif
458
                          M ;       movlw   ms
459
                          M ;       movwf   _delay_ms
460
                          M ;       call    _delay1ms
461
006C   1006           00113         bcf     PORTB, 0
462
006D   0008           00114         return
463
                      00115 
464
                      00116 ;---------------------------------------
465
006E                  00117 Celemvzat:
466
006E   2065           00118         call    Vpravo
467
006F   1406           00119         bsf     PORTB, 0                        
468
                      00120         Delay   125                             
469
                          M         Delay1ms 125
470
                          M  if debug == 0
471
0070   307D               M         movlw   125     
472
0071   008C               M         movwf   _delay_ms
473
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE  9
474
 
475
 
476
LOC  OBJECT CODE     LINE SOURCE TEXT
477
  VALUE
478
 
479
0072   207F               M         call    _delay1ms       
480
                          M  endif
481
                          M ;       movlw   ms
482
                          M ;       movwf   _delay_ms
483
                          M ;       call    _delay1ms
484
0073   1006           00121         bcf     PORTB, 0                        
485
0074   0008           00122         return
486
                      00123 ;---------------------------------------
487
0075                  00124 Vlevo:
488
0075   2065           00125         call    Vpravo
489
0076   1406           00126         bsf     PORTB, 0                
490
                      00127         Delay   250
491
                          M         Delay1ms 250
492
                          M  if debug == 0
493
0077   30FA               M         movlw   250     
494
0078   008C               M         movwf   _delay_ms
495
0079   207F               M         call    _delay1ms       
496
                          M  endif
497
                          M ;       movlw   ms
498
                          M ;       movwf   _delay_ms
499
                          M ;       call    _delay1ms
500
                      00128         Delay   70              
501
                          M         Delay1ms 70
502
                          M  if debug == 0
503
007A   3046               M         movlw   70      
504
007B   008C               M         movwf   _delay_ms
505
007C   207F               M         call    _delay1ms       
506
                          M  endif
507
                          M ;       movlw   ms
508
                          M ;       movwf   _delay_ms
509
                          M ;       call    _delay1ms
510
007D   1006           00129         bcf     PORTB, 0        
511
007E   0008           00130         return
512
                      00131 
513
                      00132 #include delayfce.inc
514
                      00001 ;--- Spozdeni v nasobcich 1ms ----
515
007F                  00002 _delay1ms:
516
007F   3064           00003         movlw   100             ; 1 ms
517
0080   008D           00004         movwf   _delay_us
518
0081   2085           00005         call    _delay10us
519
                      00006 
520
0082   0B8C           00007         decfsz  _delay_ms, f
521
0083   287F           00008         goto    _delay1ms
522
0084   0008           00009         return
523
                      00010 
524
                      00011 ;--- Spozdeni v nasobcich 10us ----
525
0085                  00012 _delay10us:                     ; Prodleva (CT1 * 10us)+3us
526
0085   0000           00013         nop     
527
0086   0000           00014         nop
528
0087   0000           00015         nop
529
0088   0000           00016         nop
530
0089   0000           00017         nop
531
008A   0000           00018         nop
532
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE 10
533
 
534
 
535
LOC  OBJECT CODE     LINE SOURCE TEXT
536
  VALUE
537
 
538
008B   0000           00019         nop
539
008C   0B8D           00020         decfsz  _delay_us, f
540
008D   2885           00021         goto    _delay10us
541
008E   0008           00022         return
542
                      00023 
543
                      00024 ;----------------------------
544
                      00025 ; Definice promenych pro spozdeni
545
                      00026 ;----------------------------
546
                      00027         cblock
547
  0000000C            00028         _delay_ms       ; Citac ms
548
  0000000D            00029         _delay_us       ; Citac 10us
549
                      00030         endc
550
                      00031 
551
                      00133 
552
                      00134 ;----------------------------
553
                      00135 ; Definice promenych 
554
                      00136 ;----------------------------
555
                      00137         cblock
556
  0000000E            00138         CT3             ;Citac poctu dlazdicek
557
                      00139         endc
558
                      00140 
559
                      00141         end
560
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE 11
561
 
562
 
563
SYMBOL TABLE
564
  LABEL                             VALUE 
565
 
566
CMP                               
567
CT3                               0000000E
568
Celemvzat                         0000006E
569
Delay                             
570
Delay10us                         
571
Delay1ms                          
572
Dopredu                           00000002
573
Dozadu                            00000001
574
EEADR_0                           00000009
575
EECON1_1                          00000008
576
EECON2_1                          00000009
577
EEDATA_0                          00000008
578
FSR                               00000004
579
IND0                              00000000
580
INTCON                            0000000B
581
MainLoop                          00000019
582
PCL                               00000002
583
PCLATH                            0000000A
584
PORTA                             00000005
585
PORTB                             00000006
586
SB                                
587
SC                                
588
SN                                
589
SNB                               
590
SNC                               
591
SNZ                               
592
SP                                
593
STATUS                            00000003
594
SZ                                
595
Smycka                            00000049
596
Start                             00000004
597
TMR0                              00000001
598
Vlevo                             00000075
599
Vpravo                            00000065
600
Vpred                             
601
Vpred0                            0000004A
602
Vpred_OFF                         
603
Vpred_ON                          
604
_CARRY                            00000000
605
_DC                               00000001
606
_EEIE                             00000006
607
_EEIF                             00000004
608
_EERD                             00000000
609
_EEWR                             00000001
610
_EEWREN                           00000002
611
_EEWRERR                          00000003
612
_GIE                              00000007
613
_INTE                             00000004
614
_INTF                             00000001
615
_IRP                              00000007
616
_PD                               00000003
617
_RBIE                             00000003
618
_RBIF                             00000000
619
MPASM 02.80 Released             MAIN.ASM   7-12-2002  15:23:36         PAGE 12
620
 
621
 
622
SYMBOL TABLE
623
  LABEL                             VALUE 
624
 
625
_RP0                              00000005
626
_RP1                              00000006
627
_T0IE                             00000005
628
_T0IF                             00000002
629
_TO                               00000004
630
_ZERO                             00000002
631
__16C84__                         00000000
632
__16F84                           00000001
633
_delay10us                        00000085
634
_delay1ms                         0000007F
635
_delay_ms                         0000000C
636
_delay_us                         0000000D
637
debug                             0
638
page0                             
639
page1                             
640
 
641
 
642
MEMORY USAGE MAP ('X' = Used,  '-' = Unused)
643
 
644
0000 : X---XXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
645
0040 : XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
646
0080 : XXXXXXXXXXXXXXX- ---------------- ---------------- ----------------
647
 
648
All other memory blocks unused.
649
 
650
Program Memory Words Used:   140
651
Program Memory Words Free:   884
652
 
653
 
654
Errors   :     0
655
Warnings :     0 reported,     0 suppressed
656
Messages :     0 reported,     0 suppressed
657
 
658