-
Notifications
You must be signed in to change notification settings - Fork 0
/
p30F5011.inc
5449 lines (4443 loc) · 152 KB
/
p30F5011.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;==========================================================================
; PIC30F5011 Standard Assembly Include File
;
; (c) Copyright 2011 Microchip Technology, All rights reserved
;==========================================================================
.NOLIST
;==========================================================================
; This header file defines configurations, registers, and other useful
; bits of information for the PIC30F5011 microcontroller. These names
; are taken to match the data sheets as closely as possible.
;
; Note that the processor must be selected before this file is included.
; The processor may be selected the following ways:
;
; 1. Command line switch:
; C:\> pic30-as file.s -p30F5011
; 2. Placing a ".equ" directive before the ".include":
; .equ __30F5011, 1
; .include "p30F5011.inc"
; 3. Setting the processor in the MPLAB IDE Project Dialog
;==========================================================================
;==========================================================================
;
; Verify Processor
;
;==========================================================================
.IFNDEF __30F5011
.ERROR "Include file does not match processor setting."
.ENDIF
;==========================================================================
;
; Register Definitions
;
;==========================================================================
;----- Register Equates (Low Byte, High Byte) -----------------------------
.extern WREG0
.equiv WREG0L, _WREG0
.equiv WREG0H, _WREG0+1
.extern WREG1
.equiv WREG1L, _WREG1
.equiv WREG1H, _WREG1+1
.extern WREG2
.equiv WREG2L, _WREG2
.equiv WREG2H, _WREG2+1
.extern WREG3
.equiv WREG3L, _WREG3
.equiv WREG3H, _WREG3+1
.extern WREG4
.equiv WREG4L, _WREG4
.equiv WREG4H, _WREG4+1
.extern WREG5
.equiv WREG5L, _WREG5
.equiv WREG5H, _WREG5+1
.extern WREG6
.equiv WREG6L, _WREG6
.equiv WREG6H, _WREG6+1
.extern WREG7
.equiv WREG7L, _WREG7
.equiv WREG7H, _WREG7+1
.extern WREG8
.equiv WREG8L, _WREG8
.equiv WREG8H, _WREG8+1
.extern WREG9
.equiv WREG9L, _WREG9
.equiv WREG9H, _WREG9+1
.extern WREG10
.equiv WREG10L, _WREG10
.equiv WREG10H, _WREG10+1
.extern WREG11
.equiv WREG11L, _WREG11
.equiv WREG11H, _WREG11+1
.extern WREG12
.equiv WREG12L, _WREG12
.equiv WREG12H, _WREG12+1
.extern WREG13
.equiv WREG13L, _WREG13
.equiv WREG13H, _WREG13+1
.extern WREG14
.equiv WREG14L, _WREG14
.equiv WREG14H, _WREG14+1
.extern WREG15
.equiv WREG15L, _WREG15
.equiv WREG15H, _WREG15+1
.extern SPLIM
.equiv SPLIML, _SPLIM
.equiv SPLIMH, _SPLIM+1
.extern ACCAL
.equiv ACCALL, _ACCAL
.equiv ACCALH, _ACCAL+1
.extern ACCAH
.equiv ACCAHL, _ACCAH
.equiv ACCAHH, _ACCAH+1
.extern ACCAU
.equiv ACCAUL, _ACCAU
.equiv ACCAUH, _ACCAU+1
.extern ACCBL
.equiv ACCBLL, _ACCBL
.equiv ACCBLH, _ACCBL+1
.extern ACCBH
.equiv ACCBHL, _ACCBH
.equiv ACCBHH, _ACCBH+1
.extern ACCBU
.equiv ACCBUL, _ACCBU
.equiv ACCBUH, _ACCBU+1
.extern PCL
.equiv PCLL, _PCL
.equiv PCLH, _PCL+1
.extern PCH
.equiv PCHL, _PCH
.equiv PCHH, _PCH+1
.extern TBLPAG
.equiv TBLPAGL, _TBLPAG
.equiv TBLPAGH, _TBLPAG+1
.extern PSVPAG
.equiv PSVPAGL, _PSVPAG
.equiv PSVPAGH, _PSVPAG+1
.extern RCOUNT
.equiv RCOUNTL, _RCOUNT
.equiv RCOUNTH, _RCOUNT+1
.extern DCOUNT
.equiv DCOUNTL, _DCOUNT
.equiv DCOUNTH, _DCOUNT+1
.extern DOSTARTL
.equiv DOSTARTLL, _DOSTARTL
.equiv DOSTARTLH, _DOSTARTL+1
.extern DOSTARTH
.equiv DOSTARTHL, _DOSTARTH
.equiv DOSTARTHH, _DOSTARTH+1
.extern DOENDL
.equiv DOENDLL, _DOENDL
.equiv DOENDLH, _DOENDL+1
.extern DOENDH
.equiv DOENDHL, _DOENDH
.equiv DOENDHH, _DOENDH+1
.extern SR
.equiv SRL, _SR
.equiv SRH, _SR+1
.extern CORCON
.equiv CORCONL, _CORCON
.equiv CORCONH, _CORCON+1
.extern MODCON
.equiv MODCONL, _MODCON
.equiv MODCONH, _MODCON+1
.extern XMODSRT
.equiv XMODSRTL, _XMODSRT
.equiv XMODSRTH, _XMODSRT+1
.extern XMODEND
.equiv XMODENDL, _XMODEND
.equiv XMODENDH, _XMODEND+1
.extern YMODSRT
.equiv YMODSRTL, _YMODSRT
.equiv YMODSRTH, _YMODSRT+1
.extern YMODEND
.equiv YMODENDL, _YMODEND
.equiv YMODENDH, _YMODEND+1
.extern XBREV
.equiv XBREVL, _XBREV
.equiv XBREVH, _XBREV+1
.extern DISICNT
.equiv DISICNTL, _DISICNT
.equiv DISICNTH, _DISICNT+1
.extern INTCON1
.equiv INTCON1L, _INTCON1
.equiv INTCON1H, _INTCON1+1
.extern INTCON2
.equiv INTCON2L, _INTCON2
.equiv INTCON2H, _INTCON2+1
.extern IFS0
.equiv IFS0L, _IFS0
.equiv IFS0H, _IFS0+1
.extern IFS1
.equiv IFS1L, _IFS1
.equiv IFS1H, _IFS1+1
.extern IFS2
.equiv IFS2L, _IFS2
.equiv IFS2H, _IFS2+1
.extern IEC0
.equiv IEC0L, _IEC0
.equiv IEC0H, _IEC0+1
.extern IEC1
.equiv IEC1L, _IEC1
.equiv IEC1H, _IEC1+1
.extern IEC2
.equiv IEC2L, _IEC2
.equiv IEC2H, _IEC2+1
.extern IPC0
.equiv IPC0L, _IPC0
.equiv IPC0H, _IPC0+1
.extern IPC1
.equiv IPC1L, _IPC1
.equiv IPC1H, _IPC1+1
.extern IPC2
.equiv IPC2L, _IPC2
.equiv IPC2H, _IPC2+1
.extern IPC3
.equiv IPC3L, _IPC3
.equiv IPC3H, _IPC3+1
.extern IPC4
.equiv IPC4L, _IPC4
.equiv IPC4H, _IPC4+1
.extern IPC5
.equiv IPC5L, _IPC5
.equiv IPC5H, _IPC5+1
.extern IPC6
.equiv IPC6L, _IPC6
.equiv IPC6H, _IPC6+1
.extern IPC7
.equiv IPC7L, _IPC7
.equiv IPC7H, _IPC7+1
.extern IPC8
.equiv IPC8L, _IPC8
.equiv IPC8H, _IPC8+1
.extern IPC9
.equiv IPC9L, _IPC9
.equiv IPC9H, _IPC9+1
.extern IPC10
.equiv IPC10L, _IPC10
.equiv IPC10H, _IPC10+1
.extern INTTREG
.equiv INTTREGL, _INTTREG
.equiv INTTREGH, _INTTREG+1
.extern CNEN1
.equiv CNEN1L, _CNEN1
.equiv CNEN1H, _CNEN1+1
.extern CNEN2
.equiv CNEN2L, _CNEN2
.equiv CNEN2H, _CNEN2+1
.extern CNPU1
.equiv CNPU1L, _CNPU1
.equiv CNPU1H, _CNPU1+1
.extern CNPU2
.equiv CNPU2L, _CNPU2
.equiv CNPU2H, _CNPU2+1
.extern TMR1
.equiv TMR1L, _TMR1
.equiv TMR1H, _TMR1+1
.extern PR1
.equiv PR1L, _PR1
.equiv PR1H, _PR1+1
.extern T1CON
.equiv T1CONL, _T1CON
.equiv T1CONH, _T1CON+1
.extern TMR2
.equiv TMR2L, _TMR2
.equiv TMR2H, _TMR2+1
.extern TMR3HLD
.equiv TMR3HLDL, _TMR3HLD
.equiv TMR3HLDH, _TMR3HLD+1
.extern TMR3
.equiv TMR3L, _TMR3
.equiv TMR3H, _TMR3+1
.extern PR2
.equiv PR2L, _PR2
.equiv PR2H, _PR2+1
.extern PR3
.equiv PR3L, _PR3
.equiv PR3H, _PR3+1
.extern T2CON
.equiv T2CONL, _T2CON
.equiv T2CONH, _T2CON+1
.extern T3CON
.equiv T3CONL, _T3CON
.equiv T3CONH, _T3CON+1
.extern TMR4
.equiv TMR4L, _TMR4
.equiv TMR4H, _TMR4+1
.extern TMR5HLD
.equiv TMR5HLDL, _TMR5HLD
.equiv TMR5HLDH, _TMR5HLD+1
.extern TMR5
.equiv TMR5L, _TMR5
.equiv TMR5H, _TMR5+1
.extern PR4
.equiv PR4L, _PR4
.equiv PR4H, _PR4+1
.extern PR5
.equiv PR5L, _PR5
.equiv PR5H, _PR5+1
.extern T4CON
.equiv T4CONL, _T4CON
.equiv T4CONH, _T4CON+1
.extern T5CON
.equiv T5CONL, _T5CON
.equiv T5CONH, _T5CON+1
.extern IC1BUF
.equiv IC1BUFL, _IC1BUF
.equiv IC1BUFH, _IC1BUF+1
.extern IC1CON
.equiv IC1CONL, _IC1CON
.equiv IC1CONH, _IC1CON+1
.extern IC2BUF
.equiv IC2BUFL, _IC2BUF
.equiv IC2BUFH, _IC2BUF+1
.extern IC2CON
.equiv IC2CONL, _IC2CON
.equiv IC2CONH, _IC2CON+1
.extern IC3BUF
.equiv IC3BUFL, _IC3BUF
.equiv IC3BUFH, _IC3BUF+1
.extern IC3CON
.equiv IC3CONL, _IC3CON
.equiv IC3CONH, _IC3CON+1
.extern IC4BUF
.equiv IC4BUFL, _IC4BUF
.equiv IC4BUFH, _IC4BUF+1
.extern IC4CON
.equiv IC4CONL, _IC4CON
.equiv IC4CONH, _IC4CON+1
.extern IC5BUF
.equiv IC5BUFL, _IC5BUF
.equiv IC5BUFH, _IC5BUF+1
.extern IC5CON
.equiv IC5CONL, _IC5CON
.equiv IC5CONH, _IC5CON+1
.extern IC6BUF
.equiv IC6BUFL, _IC6BUF
.equiv IC6BUFH, _IC6BUF+1
.extern IC6CON
.equiv IC6CONL, _IC6CON
.equiv IC6CONH, _IC6CON+1
.extern IC7BUF
.equiv IC7BUFL, _IC7BUF
.equiv IC7BUFH, _IC7BUF+1
.extern IC7CON
.equiv IC7CONL, _IC7CON
.equiv IC7CONH, _IC7CON+1
.extern IC8BUF
.equiv IC8BUFL, _IC8BUF
.equiv IC8BUFH, _IC8BUF+1
.extern IC8CON
.equiv IC8CONL, _IC8CON
.equiv IC8CONH, _IC8CON+1
.extern OC1RS
.equiv OC1RSL, _OC1RS
.equiv OC1RSH, _OC1RS+1
.extern OC1R
.equiv OC1RL, _OC1R
.equiv OC1RH, _OC1R+1
.extern OC1CON
.equiv OC1CONL, _OC1CON
.equiv OC1CONH, _OC1CON+1
.extern OC2RS
.equiv OC2RSL, _OC2RS
.equiv OC2RSH, _OC2RS+1
.extern OC2R
.equiv OC2RL, _OC2R
.equiv OC2RH, _OC2R+1
.extern OC2CON
.equiv OC2CONL, _OC2CON
.equiv OC2CONH, _OC2CON+1
.extern OC3RS
.equiv OC3RSL, _OC3RS
.equiv OC3RSH, _OC3RS+1
.extern OC3R
.equiv OC3RL, _OC3R
.equiv OC3RH, _OC3R+1
.extern OC3CON
.equiv OC3CONL, _OC3CON
.equiv OC3CONH, _OC3CON+1
.extern OC4RS
.equiv OC4RSL, _OC4RS
.equiv OC4RSH, _OC4RS+1
.extern OC4R
.equiv OC4RL, _OC4R
.equiv OC4RH, _OC4R+1
.extern OC4CON
.equiv OC4CONL, _OC4CON
.equiv OC4CONH, _OC4CON+1
.extern OC5RS
.equiv OC5RSL, _OC5RS
.equiv OC5RSH, _OC5RS+1
.extern OC5R
.equiv OC5RL, _OC5R
.equiv OC5RH, _OC5R+1
.extern OC5CON
.equiv OC5CONL, _OC5CON
.equiv OC5CONH, _OC5CON+1
.extern OC6RS
.equiv OC6RSL, _OC6RS
.equiv OC6RSH, _OC6RS+1
.extern OC6R
.equiv OC6RL, _OC6R
.equiv OC6RH, _OC6R+1
.extern OC6CON
.equiv OC6CONL, _OC6CON
.equiv OC6CONH, _OC6CON+1
.extern OC7RS
.equiv OC7RSL, _OC7RS
.equiv OC7RSH, _OC7RS+1
.extern OC7R
.equiv OC7RL, _OC7R
.equiv OC7RH, _OC7R+1
.extern OC7CON
.equiv OC7CONL, _OC7CON
.equiv OC7CONH, _OC7CON+1
.extern OC8RS
.equiv OC8RSL, _OC8RS
.equiv OC8RSH, _OC8RS+1
.extern OC8R
.equiv OC8RL, _OC8R
.equiv OC8RH, _OC8R+1
.extern OC8CON
.equiv OC8CONL, _OC8CON
.equiv OC8CONH, _OC8CON+1
.extern I2CRCV
.equiv I2CRCVL, _I2CRCV
.equiv I2CRCVH, _I2CRCV+1
.extern I2CTRN
.equiv I2CTRNL, _I2CTRN
.equiv I2CTRNH, _I2CTRN+1
.extern I2CBRG
.equiv I2CBRGL, _I2CBRG
.equiv I2CBRGH, _I2CBRG+1
.extern I2CCON
.equiv I2CCONL, _I2CCON
.equiv I2CCONH, _I2CCON+1
.extern I2CSTAT
.equiv I2CSTATL, _I2CSTAT
.equiv I2CSTATH, _I2CSTAT+1
.extern I2CADD
.equiv I2CADDL, _I2CADD
.equiv I2CADDH, _I2CADD+1
.extern U1MODE
.equiv U1MODEL, _U1MODE
.equiv U1MODEH, _U1MODE+1
.extern U1STA
.equiv U1STAL, _U1STA
.equiv U1STAH, _U1STA+1
.extern U1TXREG
.equiv U1TXREGL, _U1TXREG
.equiv U1TXREGH, _U1TXREG+1
.extern U1RXREG
.equiv U1RXREGL, _U1RXREG
.equiv U1RXREGH, _U1RXREG+1
.extern U1BRG
.equiv U1BRGL, _U1BRG
.equiv U1BRGH, _U1BRG+1
.extern U2MODE
.equiv U2MODEL, _U2MODE
.equiv U2MODEH, _U2MODE+1
.extern U2STA
.equiv U2STAL, _U2STA
.equiv U2STAH, _U2STA+1
.extern U2TXREG
.equiv U2TXREGL, _U2TXREG
.equiv U2TXREGH, _U2TXREG+1
.extern U2RXREG
.equiv U2RXREGL, _U2RXREG
.equiv U2RXREGH, _U2RXREG+1
.extern U2BRG
.equiv U2BRGL, _U2BRG
.equiv U2BRGH, _U2BRG+1
.extern SPI1STAT
.equiv SPI1STATL, _SPI1STAT
.equiv SPI1STATH, _SPI1STAT+1
.extern SPI1CON
.equiv SPI1CONL, _SPI1CON
.equiv SPI1CONH, _SPI1CON+1
.extern SPI1BUF
.equiv SPI1BUFL, _SPI1BUF
.equiv SPI1BUFH, _SPI1BUF+1
.extern SPI2STAT
.equiv SPI2STATL, _SPI2STAT
.equiv SPI2STATH, _SPI2STAT+1
.extern SPI2CON
.equiv SPI2CONL, _SPI2CON
.equiv SPI2CONH, _SPI2CON+1
.extern SPI2BUF
.equiv SPI2BUFL, _SPI2BUF
.equiv SPI2BUFH, _SPI2BUF+1
.extern DCICON1
.equiv DCICON1L, _DCICON1
.equiv DCICON1H, _DCICON1+1
.extern DCICON2
.equiv DCICON2L, _DCICON2
.equiv DCICON2H, _DCICON2+1
.extern DCICON3
.equiv DCICON3L, _DCICON3
.equiv DCICON3H, _DCICON3+1
.extern DCISTAT
.equiv DCISTATL, _DCISTAT
.equiv DCISTATH, _DCISTAT+1
.extern TSCON
.equiv TSCONL, _TSCON
.equiv TSCONH, _TSCON+1
.extern RSCON
.equiv RSCONL, _RSCON
.equiv RSCONH, _RSCON+1
.extern RXBUF0
.equiv RXBUF0L, _RXBUF0
.equiv RXBUF0H, _RXBUF0+1
.extern RXBUF1
.equiv RXBUF1L, _RXBUF1
.equiv RXBUF1H, _RXBUF1+1
.extern RXBUF2
.equiv RXBUF2L, _RXBUF2
.equiv RXBUF2H, _RXBUF2+1
.extern RXBUF3
.equiv RXBUF3L, _RXBUF3
.equiv RXBUF3H, _RXBUF3+1
.extern TXBUF0
.equiv TXBUF0L, _TXBUF0
.equiv TXBUF0H, _TXBUF0+1
.extern TXBUF1
.equiv TXBUF1L, _TXBUF1
.equiv TXBUF1H, _TXBUF1+1
.extern TXBUF2
.equiv TXBUF2L, _TXBUF2
.equiv TXBUF2H, _TXBUF2+1
.extern TXBUF3
.equiv TXBUF3L, _TXBUF3
.equiv TXBUF3H, _TXBUF3+1
.extern ADCBUF0
.equiv ADCBUF0L, _ADCBUF0
.equiv ADCBUF0H, _ADCBUF0+1
.extern ADCBUF1
.equiv ADCBUF1L, _ADCBUF1
.equiv ADCBUF1H, _ADCBUF1+1
.extern ADCBUF2
.equiv ADCBUF2L, _ADCBUF2
.equiv ADCBUF2H, _ADCBUF2+1
.extern ADCBUF3
.equiv ADCBUF3L, _ADCBUF3
.equiv ADCBUF3H, _ADCBUF3+1
.extern ADCBUF4
.equiv ADCBUF4L, _ADCBUF4
.equiv ADCBUF4H, _ADCBUF4+1
.extern ADCBUF5
.equiv ADCBUF5L, _ADCBUF5
.equiv ADCBUF5H, _ADCBUF5+1
.extern ADCBUF6
.equiv ADCBUF6L, _ADCBUF6
.equiv ADCBUF6H, _ADCBUF6+1
.extern ADCBUF7
.equiv ADCBUF7L, _ADCBUF7
.equiv ADCBUF7H, _ADCBUF7+1
.extern ADCBUF8
.equiv ADCBUF8L, _ADCBUF8
.equiv ADCBUF8H, _ADCBUF8+1
.extern ADCBUF9
.equiv ADCBUF9L, _ADCBUF9
.equiv ADCBUF9H, _ADCBUF9+1
.extern ADCBUFA
.equiv ADCBUFAL, _ADCBUFA
.equiv ADCBUFAH, _ADCBUFA+1
.extern ADCBUFB
.equiv ADCBUFBL, _ADCBUFB
.equiv ADCBUFBH, _ADCBUFB+1
.extern ADCBUFC
.equiv ADCBUFCL, _ADCBUFC
.equiv ADCBUFCH, _ADCBUFC+1
.extern ADCBUFD
.equiv ADCBUFDL, _ADCBUFD
.equiv ADCBUFDH, _ADCBUFD+1
.extern ADCBUFE
.equiv ADCBUFEL, _ADCBUFE
.equiv ADCBUFEH, _ADCBUFE+1
.extern ADCBUFF
.equiv ADCBUFFL, _ADCBUFF
.equiv ADCBUFFH, _ADCBUFF+1
.extern ADCON1
.equiv ADCON1L, _ADCON1
.equiv ADCON1H, _ADCON1+1
.extern ADCON2
.equiv ADCON2L, _ADCON2
.equiv ADCON2H, _ADCON2+1
.extern ADCON3
.equiv ADCON3L, _ADCON3
.equiv ADCON3H, _ADCON3+1
.extern ADCHS
.equiv ADCHSL, _ADCHS
.equiv ADCHSH, _ADCHS+1
.extern ADPCFG
.equiv ADPCFGL, _ADPCFG
.equiv ADPCFGH, _ADPCFG+1
.extern ADCSSL
.equiv ADCSSLL, _ADCSSL
.equiv ADCSSLH, _ADCSSL+1
.extern TRISB
.equiv TRISBL, _TRISB
.equiv TRISBH, _TRISB+1
.extern PORTB
.equiv PORTBL, _PORTB
.equiv PORTBH, _PORTB+1
.extern LATB
.equiv LATBL, _LATB
.equiv LATBH, _LATB+1
.extern TRISC
.equiv TRISCL, _TRISC
.equiv TRISCH, _TRISC+1
.extern PORTC
.equiv PORTCL, _PORTC
.equiv PORTCH, _PORTC+1
.extern LATC
.equiv LATCL, _LATC
.equiv LATCH, _LATC+1
.extern TRISD
.equiv TRISDL, _TRISD
.equiv TRISDH, _TRISD+1
.extern PORTD
.equiv PORTDL, _PORTD
.equiv PORTDH, _PORTD+1
.extern LATD
.equiv LATDL, _LATD
.equiv LATDH, _LATD+1
.extern TRISF
.equiv TRISFL, _TRISF
.equiv TRISFH, _TRISF+1
.extern PORTF
.equiv PORTFL, _PORTF
.equiv PORTFH, _PORTF+1
.extern LATF
.equiv LATFL, _LATF
.equiv LATFH, _LATF+1
.extern TRISG
.equiv TRISGL, _TRISG
.equiv TRISGH, _TRISG+1
.extern PORTG
.equiv PORTGL, _PORTG
.equiv PORTGH, _PORTG+1
.extern LATG
.equiv LATGL, _LATG
.equiv LATGH, _LATG+1
.extern C1RXF0SID
.equiv C1RXF0SIDL, _C1RXF0SID
.equiv C1RXF0SIDH, _C1RXF0SID+1
.extern C1RXF0EIDH
.equiv C1RXF0EIDHL, _C1RXF0EIDH
.equiv C1RXF0EIDHH, _C1RXF0EIDH+1
.extern C1RXF0EIDL
.equiv C1RXF0EIDLL, _C1RXF0EIDL
.equiv C1RXF0EIDLH, _C1RXF0EIDL+1
.extern C1RXF1SID
.equiv C1RXF1SIDL, _C1RXF1SID
.equiv C1RXF1SIDH, _C1RXF1SID+1
.extern C1RXF1EIDH
.equiv C1RXF1EIDHL, _C1RXF1EIDH
.equiv C1RXF1EIDHH, _C1RXF1EIDH+1
.extern C1RXF1EIDL
.equiv C1RXF1EIDLL, _C1RXF1EIDL
.equiv C1RXF1EIDLH, _C1RXF1EIDL+1
.extern C1RXF2SID
.equiv C1RXF2SIDL, _C1RXF2SID
.equiv C1RXF2SIDH, _C1RXF2SID+1
.extern C1RXF2EIDH
.equiv C1RXF2EIDHL, _C1RXF2EIDH
.equiv C1RXF2EIDHH, _C1RXF2EIDH+1
.extern C1RXF2EIDL
.equiv C1RXF2EIDLL, _C1RXF2EIDL
.equiv C1RXF2EIDLH, _C1RXF2EIDL+1
.extern C1RXF3SID
.equiv C1RXF3SIDL, _C1RXF3SID
.equiv C1RXF3SIDH, _C1RXF3SID+1
.extern C1RXF3EIDH
.equiv C1RXF3EIDHL, _C1RXF3EIDH
.equiv C1RXF3EIDHH, _C1RXF3EIDH+1
.extern C1RXF3EIDL
.equiv C1RXF3EIDLL, _C1RXF3EIDL
.equiv C1RXF3EIDLH, _C1RXF3EIDL+1
.extern C1RXF4SID
.equiv C1RXF4SIDL, _C1RXF4SID
.equiv C1RXF4SIDH, _C1RXF4SID+1
.extern C1RXF4EIDH
.equiv C1RXF4EIDHL, _C1RXF4EIDH
.equiv C1RXF4EIDHH, _C1RXF4EIDH+1
.extern C1RXF4EIDL
.equiv C1RXF4EIDLL, _C1RXF4EIDL
.equiv C1RXF4EIDLH, _C1RXF4EIDL+1
.extern C1RXF5SID
.equiv C1RXF5SIDL, _C1RXF5SID
.equiv C1RXF5SIDH, _C1RXF5SID+1
.extern C1RXF5EIDH
.equiv C1RXF5EIDHL, _C1RXF5EIDH
.equiv C1RXF5EIDHH, _C1RXF5EIDH+1
.extern C1RXF5EIDL
.equiv C1RXF5EIDLL, _C1RXF5EIDL
.equiv C1RXF5EIDLH, _C1RXF5EIDL+1
.extern C1RXM0SID
.equiv C1RXM0SIDL, _C1RXM0SID
.equiv C1RXM0SIDH, _C1RXM0SID+1
.extern C1RXM0EIDH
.equiv C1RXM0EIDHL, _C1RXM0EIDH
.equiv C1RXM0EIDHH, _C1RXM0EIDH+1
.extern C1RXM0EIDL
.equiv C1RXM0EIDLL, _C1RXM0EIDL
.equiv C1RXM0EIDLH, _C1RXM0EIDL+1
.extern C1RXM1SID
.equiv C1RXM1SIDL, _C1RXM1SID
.equiv C1RXM1SIDH, _C1RXM1SID+1
.extern C1RXM1EIDH
.equiv C1RXM1EIDHL, _C1RXM1EIDH
.equiv C1RXM1EIDHH, _C1RXM1EIDH+1
.extern C1RXM1EIDL
.equiv C1RXM1EIDLL, _C1RXM1EIDL
.equiv C1RXM1EIDLH, _C1RXM1EIDL+1
.extern C1TX2SID
.equiv C1TX2SIDL, _C1TX2SID
.equiv C1TX2SIDH, _C1TX2SID+1
.extern C1TX2EID
.equiv C1TX2EIDL, _C1TX2EID
.equiv C1TX2EIDH, _C1TX2EID+1
.extern C1TX2DLC
.equiv C1TX2DLCL, _C1TX2DLC
.equiv C1TX2DLCH, _C1TX2DLC+1
.extern C1TX2B1
.equiv C1TX2B1L, _C1TX2B1
.equiv C1TX2B1H, _C1TX2B1+1
.extern C1TX2B2
.equiv C1TX2B2L, _C1TX2B2
.equiv C1TX2B2H, _C1TX2B2+1
.extern C1TX2B3
.equiv C1TX2B3L, _C1TX2B3
.equiv C1TX2B3H, _C1TX2B3+1
.extern C1TX2B4
.equiv C1TX2B4L, _C1TX2B4
.equiv C1TX2B4H, _C1TX2B4+1
.extern C1TX2CON
.equiv C1TX2CONL, _C1TX2CON
.equiv C1TX2CONH, _C1TX2CON+1
.extern C1TX1SID
.equiv C1TX1SIDL, _C1TX1SID
.equiv C1TX1SIDH, _C1TX1SID+1
.extern C1TX1EID
.equiv C1TX1EIDL, _C1TX1EID
.equiv C1TX1EIDH, _C1TX1EID+1
.extern C1TX1DLC
.equiv C1TX1DLCL, _C1TX1DLC
.equiv C1TX1DLCH, _C1TX1DLC+1
.extern C1TX1B1
.equiv C1TX1B1L, _C1TX1B1
.equiv C1TX1B1H, _C1TX1B1+1
.extern C1TX1B2
.equiv C1TX1B2L, _C1TX1B2
.equiv C1TX1B2H, _C1TX1B2+1
.extern C1TX1B3
.equiv C1TX1B3L, _C1TX1B3
.equiv C1TX1B3H, _C1TX1B3+1
.extern C1TX1B4
.equiv C1TX1B4L, _C1TX1B4
.equiv C1TX1B4H, _C1TX1B4+1
.extern C1TX1CON
.equiv C1TX1CONL, _C1TX1CON
.equiv C1TX1CONH, _C1TX1CON+1
.extern C1TX0SID
.equiv C1TX0SIDL, _C1TX0SID
.equiv C1TX0SIDH, _C1TX0SID+1
.extern C1TX0EID
.equiv C1TX0EIDL, _C1TX0EID
.equiv C1TX0EIDH, _C1TX0EID+1
.extern C1TX0DLC
.equiv C1TX0DLCL, _C1TX0DLC
.equiv C1TX0DLCH, _C1TX0DLC+1
.extern C1TX0B1