2
-- automatically generated by gp2pub
8
pragma processor="p18f6520";
9
family : constant processor.family_type = PIC16E;
10
name : constant processor.name_type = P18F6520;
14
ADCON0 : uint8 at 0xfc2;
15
ADCON1 : uint8 at 0xfc1;
16
ADCON2 : uint8 at 0xfc0;
17
ADRES : uint8 at 0xfc3;
18
ADRESH : uint8 at 0xfc4;
19
ADRESL : uint8 at 0xfc3;
21
CCP1CON : uint8 at 0xfbd;
22
CCP2CON : uint8 at 0xfba;
23
CCP3CON : uint8 at 0xfb7;
24
CCP4CON : uint8 at 0xf73;
25
CCP5CON : uint8 at 0xf70;
26
CCPR1 : uint8 at 0xfbe;
27
CCPR1H : uint8 at 0xfbf;
28
CCPR1L : uint8 at 0xfbe;
29
CCPR2 : uint8 at 0xfbb;
30
CCPR2H : uint8 at 0xfbc;
31
CCPR2L : uint8 at 0xfbb;
32
CCPR3 : uint8 at 0xfb8;
33
CCPR3H : uint8 at 0xfb9;
34
CCPR3L : uint8 at 0xfb8;
35
CCPR4 : uint8 at 0xf74;
36
CCPR4H : uint8 at 0xf75;
37
CCPR4L : uint8 at 0xf74;
38
CCPR5 : uint8 at 0xf71;
39
CCPR5H : uint8 at 0xf72;
40
CCPR5L : uint8 at 0xf71;
41
CMCON : uint8 at 0xfb4;
42
CVRCON : uint8 at 0xfb5;
43
DDRF : uint8 at 0xf97;
44
DDRG : uint8 at 0xf98;
45
EEADR : uint8 at 0xfa9;
46
EEADRH : uint8 at 0xfaa;
47
EECON1 : uint8 at 0xfa6;
48
EECON2 : uint8 at 0xfa7;
49
EEDATA : uint8 at 0xfa8;
50
FSR0H : uint8 at 0xfea;
51
FSR0L : uint8 at 0xfe9;
52
FSR1H : uint8 at 0xfe2;
53
FSR1L : uint8 at 0xfe1;
54
FSR2H : uint8 at 0xfda;
55
FSR2L : uint8 at 0xfd9;
56
INDF0 : uint8 at 0xfef;
57
INDF1 : uint8 at 0xfe7;
58
INDF2 : uint8 at 0xfdf;
59
INTCON : uint8 at 0xff2;
60
INTCON2 : uint8 at 0xff1;
61
INTCON3 : uint8 at 0xff0;
62
IPR1 : uint8 at 0xf9f;
63
IPR2 : uint8 at 0xfa2;
64
IPR3 : uint8 at 0xfa5;
65
LATA : uint8 at 0xf89;
66
LATB : uint8 at 0xf8a;
67
LATC : uint8 at 0xf8b;
68
LATD : uint8 at 0xf8c;
69
LATE : uint8 at 0xf8d;
70
LATF : uint8 at 0xf8e;
71
LATG : uint8 at 0xf8f;
72
LVDCON : uint8 at 0xfd2;
73
OSCCON : uint8 at 0xfd3;
76
PCLATH : uint8 at 0xffa;
77
PCLATU : uint8 at 0xffb;
78
PIE1 : uint8 at 0xf9d;
79
PIE2 : uint8 at 0xfa0;
80
PIE3 : uint8 at 0xfa3;
81
PIR1 : uint8 at 0xf9e;
82
PIR2 : uint8 at 0xfa1;
83
PIR3 : uint8 at 0xfa4;
84
PLUSW0 : uint8 at 0xfeb;
85
PLUSW1 : uint8 at 0xfe3;
86
PLUSW2 : uint8 at 0xfdb;
87
PORTA : uint8 at 0xf80;
88
PORTB : uint8 at 0xf81;
89
PORTC : uint8 at 0xf82;
90
PORTD : uint8 at 0xf83;
91
PORTE : uint8 at 0xf84;
92
PORTF : uint8 at 0xf85;
93
PORTG : uint8 at 0xf86;
94
POSTDEC0 : uint8 at 0xfed;
95
POSTDEC1 : uint8 at 0xfe5;
96
POSTDEC2 : uint8 at 0xfdd;
97
POSTINC0 : uint8 at 0xfee;
98
POSTINC1 : uint8 at 0xfe6;
99
POSTINC2 : uint8 at 0xfde;
100
PR2 : uint8 at 0xfcb;
101
PR4 : uint8 at 0xf77;
102
PREINC0 : uint8 at 0xfec;
103
PREINC1 : uint8 at 0xfe4;
104
PREINC2 : uint8 at 0xfdc;
105
PROD : uint8 at 0xff3;
106
PRODH : uint8 at 0xff4;
107
PRODL : uint8 at 0xff3;
108
PSPCON : uint8 at 0xfb0;
109
RCON : uint8 at 0xfd0;
110
RCREG1 : uint8 at 0xfae;
111
RCREG2 : uint8 at 0xf6e;
112
RCSTA : uint8 at 0xfab;
113
RCSTA1 : uint8 at 0xfab;
114
RCSTA2 : uint8 at 0xf6b;
115
SPBRG : uint8 at 0xfaf;
116
SPBRG1 : uint8 at 0xfaf;
117
SPBRG2 : uint8 at 0xf6f;
118
SSPADD : uint8 at 0xfc8;
119
SSPBUF : uint8 at 0xfc9;
120
SSPCON1 : uint8 at 0xfc6;
121
SSPCON2 : uint8 at 0xfc5;
122
SSPSTAT : uint8 at 0xfc7;
123
STATUS : uint8 at 0xfd8;
124
STKPTR : uint8 at 0xffc;
125
T0CON : uint8 at 0xfd5;
126
T1CON : uint8 at 0xfcd;
127
T2CON : uint8 at 0xfca;
128
T3CON : uint8 at 0xfb1;
129
T4CON : uint8 at 0xf76;
130
TABLAT : uint8 at 0xff5;
131
TBLPTR : uint8 at 0xff6;
132
TBLPTRH : uint8 at 0xff7;
133
TBLPTRL : uint8 at 0xff6;
134
TBLPTRU : uint8 at 0xff8;
135
TMR0H : uint8 at 0xfd7;
136
TMR0L : uint8 at 0xfd6;
137
TMR1H : uint8 at 0xfcf;
138
TMR1L : uint8 at 0xfce;
139
TMR2 : uint8 at 0xfcc;
140
TMR3H : uint8 at 0xfb3;
141
TMR3L : uint8 at 0xfb2;
142
TMR4 : uint8 at 0xf78;
143
TOS : uint8 at 0xffd;
144
TOSH : uint8 at 0xffe;
145
TOSL : uint8 at 0xffd;
146
TOSU : uint8 at 0xfff;
147
TRISA : uint8 at 0xf92;
148
TRISB : uint8 at 0xf93;
149
TRISC : uint8 at 0xf94;
150
TRISD : uint8 at 0xf95;
151
TRISE : uint8 at 0xf96;
152
TRISF : uint8 at 0xf97;
153
TRISG : uint8 at 0xf98;
154
TXREG : uint8 at 0xfad;
155
TXREG1 : uint8 at 0xfad;
156
TXREG2 : uint8 at 0xf6d;
157
TXSTA : uint8 at 0xfac;
158
TXSTA1 : uint8 at 0xfac;
159
TXSTA2 : uint8 at 0xf6c;
160
WDTCON : uint8 at 0xfd1;
161
WREG : uint8 at 0xfe8;
165
A : constant uint8 = 0;
166
_ACCESS : constant uint8 = 0; -- gpal reserved word
167
ACKDT : constant uint8 = 0x5;
168
ACKEN : constant uint8 = 0x4;
169
ACKSTAT : constant uint8 = 0x6;
170
ADCS0 : constant uint8 = 0;
171
ADCS1 : constant uint8 = 0x1;
172
ADCS2 : constant uint8 = 0x2;
173
ADDEN : constant uint8 = 0x3;
174
ADEN : constant uint8 = 0x3;
175
ADFM : constant uint8 = 0x7;
176
ADIE : constant uint8 = 0x6;
177
ADIF : constant uint8 = 0x6;
178
ADIP : constant uint8 = 0x6;
179
ADON : constant uint8 = 0;
180
AN0 : constant uint8 = 0;
181
AN1 : constant uint8 = 0x1;
182
AN10 : constant uint8 = 0x5;
183
AN11 : constant uint8 = 0x6;
184
AN2 : constant uint8 = 0x2;
185
AN3 : constant uint8 = 0x3;
186
AN4 : constant uint8 = 0x5;
187
AN5 : constant uint8 = 0;
188
AN6 : constant uint8 = 0x1;
189
AN7 : constant uint8 = 0x2;
190
AN8 : constant uint8 = 0x3;
191
AN9 : constant uint8 = 0x4;
192
BANKED : constant uint8 = 0x1;
193
BCLIE : constant uint8 = 0x3;
194
BCLIF : constant uint8 = 0x3;
195
BCLIP : constant uint8 = 0x3;
196
BF : constant uint8 = 0;
197
BGST : constant uint8 = 0x5;
198
BOR : constant uint8 = 0;
199
BRGH : constant uint8 = 0x2;
200
C : constant uint8 = 0;
201
C1INV : constant uint8 = 0x4;
202
C1OUT : constant uint8 = 0x6;
203
C2INV : constant uint8 = 0x5;
204
C2OUT : constant uint8 = 0x7;
205
CCP1 : constant uint8 = 0x2;
206
CCP1IE : constant uint8 = 0x2;
207
CCP1IF : constant uint8 = 0x2;
208
CCP1IP : constant uint8 = 0x2;
209
CCP1M0 : constant uint8 = 0;
210
CCP1M1 : constant uint8 = 0x1;
211
CCP1M2 : constant uint8 = 0x2;
212
CCP1M3 : constant uint8 = 0x3;
213
CCP1X : constant uint8 = 0x5;
214
CCP1Y : constant uint8 = 0x4;
215
CCP2A : constant uint8 = 0x1;
216
CCP2IE : constant uint8 = 0;
217
CCP2IF : constant uint8 = 0;
218
CCP2IP : constant uint8 = 0;
219
CCP2M0 : constant uint8 = 0;
220
CCP2M1 : constant uint8 = 0x1;
221
CCP2M2 : constant uint8 = 0x2;
222
CCP2M3 : constant uint8 = 0x3;
223
CCP2X : constant uint8 = 0x5;
224
CCP2Y : constant uint8 = 0x4;
225
CCP3 : constant uint8 = 0;
226
CCP3IE : constant uint8 = 0;
227
CCP3IF : constant uint8 = 0;
228
CCP3IP : constant uint8 = 0;
229
CCP3M0 : constant uint8 = 0;
230
CCP3M1 : constant uint8 = 0x1;
231
CCP3M2 : constant uint8 = 0x2;
232
CCP3M3 : constant uint8 = 0x3;
233
CCP4 : constant uint8 = 0x3;
234
CCP4IE : constant uint8 = 0x1;
235
CCP4IF : constant uint8 = 0x1;
236
CCP4IP : constant uint8 = 0x1;
237
CCP4M0 : constant uint8 = 0;
238
CCP4M1 : constant uint8 = 0x1;
239
CCP4M2 : constant uint8 = 0x2;
240
CCP4M3 : constant uint8 = 0x3;
241
CCP5 : constant uint8 = 0x4;
242
CCP5IE : constant uint8 = 0x2;
243
CCP5IF : constant uint8 = 0x2;
244
CCP5IP : constant uint8 = 0x2;
245
CCP5M0 : constant uint8 = 0;
246
CCP5M1 : constant uint8 = 0x1;
247
CCP5M2 : constant uint8 = 0x2;
248
CCP5M3 : constant uint8 = 0x3;
249
CFGS : constant uint8 = 0x6;
250
CHS0 : constant uint8 = 0x2;
251
CHS1 : constant uint8 = 0x3;
252
CHS2 : constant uint8 = 0x4;
253
CHS3 : constant uint8 = 0x5;
254
CIS : constant uint8 = 0x3;
255
CK : constant uint8 = 0x6;
256
CK2 : constant uint8 = 0x1;
257
CKE : constant uint8 = 0x6;
258
CKP : constant uint8 = 0x4;
259
CLKO : constant uint8 = 0x6;
260
CM0 : constant uint8 = 0;
261
CM1 : constant uint8 = 0x1;
262
CM2 : constant uint8 = 0x2;
263
CMIE : constant uint8 = 0x6;
264
CMIF : constant uint8 = 0x6;
265
CMIP : constant uint8 = 0x6;
266
CREN : constant uint8 = 0x4;
267
CS : constant uint8 = 0x2;
268
CSRC : constant uint8 = 0x7;
269
CVR0 : constant uint8 = 0;
270
CVR1 : constant uint8 = 0x1;
271
CVR2 : constant uint8 = 0x2;
272
CVR3 : constant uint8 = 0x3;
273
CVREF : constant uint8 = 0x4;
274
CVREN : constant uint8 = 0x7;
275
CVROE : constant uint8 = 0x6;
276
CVRR : constant uint8 = 0x5;
277
D : constant uint8 = 0x5;
278
DATA_ADDRESS : constant uint8 = 0x5;
279
DC : constant uint8 = 0x1;
280
DC1B0 : constant uint8 = 0x4;
281
DC1B1 : constant uint8 = 0x5;
282
DC2B0 : constant uint8 = 0x4;
283
DC2B1 : constant uint8 = 0x5;
284
DC3B0 : constant uint8 = 0x4;
285
DC3B1 : constant uint8 = 0x5;
286
DC4B0 : constant uint8 = 0x4;
287
DC4B1 : constant uint8 = 0x5;
288
DC5B0 : constant uint8 = 0x4;
289
DC5B1 : constant uint8 = 0x5;
290
DCCP1X : constant uint8 = 0x5;
291
DCCP1Y : constant uint8 = 0x4;
292
DCCP2X : constant uint8 = 0x5;
293
DCCP2Y : constant uint8 = 0x4;
294
DCCP3X : constant uint8 = 0x5;
295
DCCP3Y : constant uint8 = 0x4;
296
DCCP4X : constant uint8 = 0x5;
297
DCCP4Y : constant uint8 = 0x4;
298
DCCP5X : constant uint8 = 0x5;
299
DCCP5Y : constant uint8 = 0x4;
300
DONE : constant uint8 = 0x1;
301
DT2 : constant uint8 = 0x2;
302
D_A : constant uint8 = 0x5;
303
EEIE : constant uint8 = 0x4;
304
EEIF : constant uint8 = 0x4;
305
EEIP : constant uint8 = 0x4;
306
EEPGD : constant uint8 = 0x7;
307
FAST : constant uint8 = 0x1;
308
FERR : constant uint8 = 0x2;
309
FREE : constant uint8 = 0x4;
310
FSR0 : constant uint8 = 0;
311
FSR1 : constant uint8 = 0x1;
312
FSR2 : constant uint8 = 0x2;
313
GCEN : constant uint8 = 0x7;
314
GIE : constant uint8 = 0x7;
315
GIEH : constant uint8 = 0x7;
316
GIEL : constant uint8 = 0x6;
317
GO : constant uint8 = 0x1;
318
GO_DONE : constant uint8 = 0x1;
319
I2C_DAT : constant uint8 = 0x5;
320
I2C_READ : constant uint8 = 0x2;
321
I2C_START : constant uint8 = 0x3;
322
I2C_STOP : constant uint8 = 0x4;
323
IBF : constant uint8 = 0x7;
324
IBOV : constant uint8 = 0x5;
325
INT0 : constant uint8 = 0;
326
INT0E : constant uint8 = 0x4;
327
INT0F : constant uint8 = 0x1;
328
INT0IE : constant uint8 = 0x4;
329
INT0IF : constant uint8 = 0x1;
330
INT1 : constant uint8 = 0x1;
331
INT1E : constant uint8 = 0x3;
332
INT1F : constant uint8 = 0;
333
INT1IE : constant uint8 = 0x3;
334
INT1IF : constant uint8 = 0;
335
INT1IP : constant uint8 = 0x6;
336
INT1P : constant uint8 = 0x6;
337
INT2 : constant uint8 = 0x2;
338
INT2E : constant uint8 = 0x4;
339
INT2F : constant uint8 = 0x1;
340
INT2IE : constant uint8 = 0x4;
341
INT2IF : constant uint8 = 0x1;
342
INT2IP : constant uint8 = 0x7;
343
INT2P : constant uint8 = 0x7;
344
INT3 : constant uint8 = 0x3;
345
INT3E : constant uint8 = 0x5;
346
INT3F : constant uint8 = 0x2;
347
INT3IE : constant uint8 = 0x5;
348
INT3IF : constant uint8 = 0x2;
349
INT3IP : constant uint8 = 0x1;
350
INT3P : constant uint8 = 0x1;
351
INTEDG0 : constant uint8 = 0x6;
352
INTEDG1 : constant uint8 = 0x5;
353
INTEDG2 : constant uint8 = 0x4;
354
INTEDG3 : constant uint8 = 0x3;
355
IPEN : constant uint8 = 0x7;
356
IRVST : constant uint8 = 0x5;
357
KBI0 : constant uint8 = 0x4;
358
KBI1 : constant uint8 = 0x5;
359
KBI2 : constant uint8 = 0x6;
360
KBI3 : constant uint8 = 0x7;
361
LATA0 : constant uint8 = 0;
362
LATA1 : constant uint8 = 0x1;
363
LATA2 : constant uint8 = 0x2;
364
LATA3 : constant uint8 = 0x3;
365
LATA4 : constant uint8 = 0x4;
366
LATA5 : constant uint8 = 0x5;
367
LATA6 : constant uint8 = 0x6;
368
LATB0 : constant uint8 = 0;
369
LATB1 : constant uint8 = 0x1;
370
LATB2 : constant uint8 = 0x2;
371
LATB3 : constant uint8 = 0x3;
372
LATB4 : constant uint8 = 0x4;
373
LATB5 : constant uint8 = 0x5;
374
LATB6 : constant uint8 = 0x6;
375
LATB7 : constant uint8 = 0x7;
376
LATC0 : constant uint8 = 0;
377
LATC1 : constant uint8 = 0x1;
378
LATC2 : constant uint8 = 0x2;
379
LATC3 : constant uint8 = 0x3;
380
LATC4 : constant uint8 = 0x4;
381
LATC5 : constant uint8 = 0x5;
382
LATC6 : constant uint8 = 0x6;
383
LATC7 : constant uint8 = 0x7;
384
LATD0 : constant uint8 = 0;
385
LATD1 : constant uint8 = 0x1;
386
LATD2 : constant uint8 = 0x2;
387
LATD3 : constant uint8 = 0x3;
388
LATD4 : constant uint8 = 0x4;
389
LATD5 : constant uint8 = 0x5;
390
LATD6 : constant uint8 = 0x6;
391
LATD7 : constant uint8 = 0x7;
392
LATE0 : constant uint8 = 0;
393
LATE1 : constant uint8 = 0x1;
394
LATE2 : constant uint8 = 0x2;
395
LATE3 : constant uint8 = 0x3;
396
LATE4 : constant uint8 = 0x4;
397
LATE5 : constant uint8 = 0x5;
398
LATE6 : constant uint8 = 0x6;
399
LATE7 : constant uint8 = 0x7;
400
LATF0 : constant uint8 = 0;
401
LATF1 : constant uint8 = 0x1;
402
LATF2 : constant uint8 = 0x2;
403
LATF3 : constant uint8 = 0x3;
404
LATF4 : constant uint8 = 0x4;
405
LATF5 : constant uint8 = 0x5;
406
LATF6 : constant uint8 = 0x6;
407
LATF7 : constant uint8 = 0x7;
408
LATG0 : constant uint8 = 0;
409
LATG1 : constant uint8 = 0x1;
410
LATG2 : constant uint8 = 0x2;
411
LATG3 : constant uint8 = 0x3;
412
LATG4 : constant uint8 = 0x4;
413
LVDEN : constant uint8 = 0x4;
414
LVDIE : constant uint8 = 0x2;
415
LVDIF : constant uint8 = 0x2;
416
LVDIN : constant uint8 = 0x5;
417
LVDIP : constant uint8 = 0x2;
418
LVDL0 : constant uint8 = 0;
419
LVDL1 : constant uint8 = 0x1;
420
LVDL2 : constant uint8 = 0x2;
421
LVDL3 : constant uint8 = 0x3;
422
LVV0 : constant uint8 = 0;
423
LVV1 : constant uint8 = 0x1;
424
LVV2 : constant uint8 = 0x2;
425
LVV3 : constant uint8 = 0x3;
426
N : constant uint8 = 0x4;
427
NOT_A : constant uint8 = 0x5;
428
NOT_ADDRESS : constant uint8 = 0x5;
429
NOT_BOR : constant uint8 = 0;
430
NOT_DONE : constant uint8 = 0x1;
431
NOT_IPEN : constant uint8 = 0x7;
432
NOT_PD : constant uint8 = 0x2;
433
NOT_POR : constant uint8 = 0x1;
434
NOT_RBPU : constant uint8 = 0x7;
435
NOT_RC8 : constant uint8 = 0x6;
436
NOT_RI : constant uint8 = 0x4;
437
NOT_T1SYNC : constant uint8 = 0x2;
438
NOT_T3SYNC : constant uint8 = 0x2;
439
NOT_TO : constant uint8 = 0x3;
440
NOT_TX8 : constant uint8 = 0x6;
441
NOT_W : constant uint8 = 0x2;
442
NOT_WRITE : constant uint8 = 0x2;
443
OBF : constant uint8 = 0x6;
444
OERR : constant uint8 = 0x1;
445
OSC2 : constant uint8 = 0x6;
446
OV : constant uint8 = 0x3;
447
P : constant uint8 = 0x4;
448
PCFG0 : constant uint8 = 0;
449
PCFG1 : constant uint8 = 0x1;
450
PCFG2 : constant uint8 = 0x2;
451
PCFG3 : constant uint8 = 0x3;
452
PD : constant uint8 = 0x2;
453
PEIE : constant uint8 = 0x6;
454
PEN : constant uint8 = 0x2;
455
PGC : constant uint8 = 0x6;
456
PGD : constant uint8 = 0x7;
457
PGM : constant uint8 = 0x5;
458
POR : constant uint8 = 0x1;
459
PSA : constant uint8 = 0x3;
460
PSP0 : constant uint8 = 0;
461
PSP1 : constant uint8 = 0x1;
462
PSP2 : constant uint8 = 0x2;
463
PSP3 : constant uint8 = 0x3;
464
PSP4 : constant uint8 = 0x4;
465
PSP5 : constant uint8 = 0x5;
466
PSP6 : constant uint8 = 0x6;
467
PSP7 : constant uint8 = 0x7;
468
PSPIE : constant uint8 = 0x7;
469
PSPIF : constant uint8 = 0x7;
470
PSPIP : constant uint8 = 0x7;
471
PSPMODE : constant uint8 = 0x4;
472
R : constant uint8 = 0x2;
473
RA0 : constant uint8 = 0;
474
RA1 : constant uint8 = 0x1;
475
RA2 : constant uint8 = 0x2;
476
RA3 : constant uint8 = 0x3;
477
RA4 : constant uint8 = 0x4;
478
RA5 : constant uint8 = 0x5;
479
RA6 : constant uint8 = 0x6;
480
RB0 : constant uint8 = 0;
481
RB1 : constant uint8 = 0x1;
482
RB2 : constant uint8 = 0x2;
483
RB3 : constant uint8 = 0x3;
484
RB4 : constant uint8 = 0x4;
485
RB5 : constant uint8 = 0x5;
486
RB6 : constant uint8 = 0x6;
487
RB7 : constant uint8 = 0x7;
488
RBIE : constant uint8 = 0x3;
489
RBIF : constant uint8 = 0;
490
RBIP : constant uint8 = 0;
491
RBPU : constant uint8 = 0x7;
492
RC0 : constant uint8 = 0;
493
RC1 : constant uint8 = 0x1;
494
RC1IE : constant uint8 = 0x5;
495
RC1IF : constant uint8 = 0x5;
496
RC1IP : constant uint8 = 0x5;
497
RC2 : constant uint8 = 0x2;
498
RC2IE : constant uint8 = 0x5;
499
RC2IF : constant uint8 = 0x5;
500
RC2IP : constant uint8 = 0x5;
501
RC3 : constant uint8 = 0x3;
502
RC4 : constant uint8 = 0x4;
503
RC5 : constant uint8 = 0x5;
504
RC6 : constant uint8 = 0x6;
505
RC7 : constant uint8 = 0x7;
506
RC8_9 : constant uint8 = 0x6;
507
RC9 : constant uint8 = 0x6;
508
RCD8 : constant uint8 = 0;
509
RCEN : constant uint8 = 0x3;
510
RCIE : constant uint8 = 0x5;
511
RCIF : constant uint8 = 0x5;
512
RCIP : constant uint8 = 0x5;
513
RD : constant uint8 = 0;
514
RD0 : constant uint8 = 0;
515
RD1 : constant uint8 = 0x1;
516
RD16 : constant uint8 = 0x7;
517
RD2 : constant uint8 = 0x2;
518
RD3 : constant uint8 = 0x3;
519
RD4 : constant uint8 = 0x4;
520
RD5 : constant uint8 = 0x5;
521
RD6 : constant uint8 = 0x6;
522
RD7 : constant uint8 = 0x7;
523
RE0 : constant uint8 = 0;
524
RE1 : constant uint8 = 0x1;
525
RE2 : constant uint8 = 0x2;
526
RE3 : constant uint8 = 0x3;
527
RE4 : constant uint8 = 0x4;
528
RE5 : constant uint8 = 0x5;
529
RE6 : constant uint8 = 0x6;
530
RE7 : constant uint8 = 0x7;
531
READ_WRITE : constant uint8 = 0x2;
532
RF0 : constant uint8 = 0;
533
RF1 : constant uint8 = 0x1;
534
RF2 : constant uint8 = 0x2;
535
RF3 : constant uint8 = 0x3;
536
RF4 : constant uint8 = 0x4;
537
RF5 : constant uint8 = 0x5;
538
RF6 : constant uint8 = 0x6;
539
RF7 : constant uint8 = 0x7;
540
RG0 : constant uint8 = 0;
541
RG1 : constant uint8 = 0x1;
542
RG2 : constant uint8 = 0x2;
543
RG3 : constant uint8 = 0x3;
544
RG4 : constant uint8 = 0x4;
545
RI : constant uint8 = 0x4;
546
RSEN : constant uint8 = 0x1;
547
RX : constant uint8 = 0x7;
548
RX2 : constant uint8 = 0x2;
549
RX9 : constant uint8 = 0x6;
550
RX9D : constant uint8 = 0;
551
R_W : constant uint8 = 0x2;
552
S : constant uint8 = 0x3;
553
SCK : constant uint8 = 0x3;
554
SCL : constant uint8 = 0x3;
555
SCS : constant uint8 = 0;
556
SDA : constant uint8 = 0x4;
557
SDI : constant uint8 = 0x4;
558
SDO : constant uint8 = 0x5;
559
SEN : constant uint8 = 0;
560
SMP : constant uint8 = 0x7;
561
SPEN : constant uint8 = 0x7;
562
SREN : constant uint8 = 0x5;
563
SS : constant uint8 = 0x7;
564
SSPEN : constant uint8 = 0x5;
565
SSPIE : constant uint8 = 0x3;
566
SSPIF : constant uint8 = 0x3;
567
SSPIP : constant uint8 = 0x3;
568
SSPM0 : constant uint8 = 0;
569
SSPM1 : constant uint8 = 0x1;
570
SSPM2 : constant uint8 = 0x2;
571
SSPM3 : constant uint8 = 0x3;
572
SSPOV : constant uint8 = 0x6;
573
STKFUL : constant uint8 = 0x7;
574
STKOVF : constant uint8 = 0x7;
575
STKPTR0 : constant uint8 = 0;
576
STKPTR1 : constant uint8 = 0x1;
577
STKPTR2 : constant uint8 = 0x2;
578
STKPTR3 : constant uint8 = 0x3;
579
STKPTR4 : constant uint8 = 0x4;
580
STKUNF : constant uint8 = 0x6;
581
SWDTE : constant uint8 = 0;
582
SWDTEN : constant uint8 = 0;
583
SYNC : constant uint8 = 0x4;
584
T08BIT : constant uint8 = 0x6;
585
T0CKI : constant uint8 = 0x4;
586
T0CS : constant uint8 = 0x5;
587
T0IE : constant uint8 = 0x5;
588
T0IF : constant uint8 = 0x2;
589
T0IP : constant uint8 = 0x2;
590
T0PS0 : constant uint8 = 0;
591
T0PS1 : constant uint8 = 0x1;
592
T0PS2 : constant uint8 = 0x2;
593
T0SE : constant uint8 = 0x4;
594
T13CKI : constant uint8 = 0;
595
T1CKPS0 : constant uint8 = 0x4;
596
T1CKPS1 : constant uint8 = 0x5;
597
T1INSYNC : constant uint8 = 0x2;
598
T1OSCEN : constant uint8 = 0x3;
599
T1OSI : constant uint8 = 0x1;
600
T1OSO : constant uint8 = 0;
601
T1SYNC : constant uint8 = 0x2;
602
T2CKPS0 : constant uint8 = 0;
603
T2CKPS1 : constant uint8 = 0x1;
604
T2OUTPS0 : constant uint8 = 0x3;
605
T2OUTPS1 : constant uint8 = 0x4;
606
T2OUTPS2 : constant uint8 = 0x5;
607
T2OUTPS3 : constant uint8 = 0x6;
608
T3CCP1 : constant uint8 = 0x3;
609
T3CCP2 : constant uint8 = 0x6;
610
T3CKPS0 : constant uint8 = 0x4;
611
T3CKPS1 : constant uint8 = 0x5;
612
T3NSYNC : constant uint8 = 0x2;
613
T3SYNC : constant uint8 = 0x2;
614
T4CKPS0 : constant uint8 = 0;
615
T4CKPS1 : constant uint8 = 0x1;
616
T4OUTPS0 : constant uint8 = 0x3;
617
T4OUTPS1 : constant uint8 = 0x4;
618
T4OUTPS2 : constant uint8 = 0x5;
619
T4OUTPS3 : constant uint8 = 0x6;
620
TMR0IE : constant uint8 = 0x5;
621
TMR0IF : constant uint8 = 0x2;
622
TMR0IP : constant uint8 = 0x2;
623
TMR0ON : constant uint8 = 0x7;
624
TMR1CS : constant uint8 = 0x1;
625
TMR1IE : constant uint8 = 0;
626
TMR1IF : constant uint8 = 0;
627
TMR1IP : constant uint8 = 0;
628
TMR1ON : constant uint8 = 0;
629
TMR2IE : constant uint8 = 0x1;
630
TMR2IF : constant uint8 = 0x1;
631
TMR2IP : constant uint8 = 0x1;
632
TMR2ON : constant uint8 = 0x2;
633
TMR3CS : constant uint8 = 0x1;
634
TMR3IE : constant uint8 = 0x1;
635
TMR3IF : constant uint8 = 0x1;
636
TMR3IP : constant uint8 = 0x1;
637
TMR3ON : constant uint8 = 0;
638
TMR4IE : constant uint8 = 0x3;
639
TMR4IF : constant uint8 = 0x3;
640
TMR4IP : constant uint8 = 0x3;
641
TMR4ON : constant uint8 = 0x2;
642
_TO : constant uint8 = 0x3; -- gpal reserved word
643
TRISA0 : constant uint8 = 0;
644
TRISA1 : constant uint8 = 0x1;
645
TRISA2 : constant uint8 = 0x2;
646
TRISA3 : constant uint8 = 0x3;
647
TRISA4 : constant uint8 = 0x4;
648
TRISA5 : constant uint8 = 0x5;
649
TRISA6 : constant uint8 = 0x6;
650
TRISB0 : constant uint8 = 0;
651
TRISB1 : constant uint8 = 0x1;
652
TRISB2 : constant uint8 = 0x2;
653
TRISB3 : constant uint8 = 0x3;
654
TRISB4 : constant uint8 = 0x4;
655
TRISB5 : constant uint8 = 0x5;
656
TRISB6 : constant uint8 = 0x6;
657
TRISB7 : constant uint8 = 0x7;
658
TRISC0 : constant uint8 = 0;
659
TRISC1 : constant uint8 = 0x1;
660
TRISC2 : constant uint8 = 0x2;
661
TRISC3 : constant uint8 = 0x3;
662
TRISC4 : constant uint8 = 0x4;
663
TRISC5 : constant uint8 = 0x5;
664
TRISC6 : constant uint8 = 0x6;
665
TRISC7 : constant uint8 = 0x7;
666
TRISD0 : constant uint8 = 0;
667
TRISD1 : constant uint8 = 0x1;
668
TRISD2 : constant uint8 = 0x2;
669
TRISD3 : constant uint8 = 0x3;
670
TRISD4 : constant uint8 = 0x4;
671
TRISD5 : constant uint8 = 0x5;
672
TRISD6 : constant uint8 = 0x6;
673
TRISD7 : constant uint8 = 0x7;
674
TRISE0 : constant uint8 = 0;
675
TRISE1 : constant uint8 = 0x1;
676
TRISE2 : constant uint8 = 0x2;
677
TRISE3 : constant uint8 = 0x3;
678
TRISE4 : constant uint8 = 0x4;
679
TRISE5 : constant uint8 = 0x5;
680
TRISE6 : constant uint8 = 0x6;
681
TRISE7 : constant uint8 = 0x7;
682
TRISF0 : constant uint8 = 0;
683
TRISF1 : constant uint8 = 0x1;
684
TRISF2 : constant uint8 = 0x2;
685
TRISF3 : constant uint8 = 0x3;
686
TRISF4 : constant uint8 = 0x4;
687
TRISF5 : constant uint8 = 0x5;
688
TRISF6 : constant uint8 = 0x6;
689
TRISF7 : constant uint8 = 0x7;
690
TRISG0 : constant uint8 = 0;
691
TRISG1 : constant uint8 = 0x1;
692
TRISG2 : constant uint8 = 0x2;
693
TRISG3 : constant uint8 = 0x3;
694
TRISG4 : constant uint8 = 0x4;
695
TRMT : constant uint8 = 0x1;
696
TX : constant uint8 = 0x6;
697
TX1IE : constant uint8 = 0x4;
698
TX1IF : constant uint8 = 0x4;
699
TX1IP : constant uint8 = 0x4;
700
TX2 : constant uint8 = 0x1;
701
TX2IE : constant uint8 = 0x4;
702
TX2IF : constant uint8 = 0x4;
703
TX2IP : constant uint8 = 0x4;
704
TX8_9 : constant uint8 = 0x6;
705
TX9 : constant uint8 = 0x6;
706
TX9D : constant uint8 = 0;
707
TXD8 : constant uint8 = 0;
708
TXEN : constant uint8 = 0x5;
709
TXIE : constant uint8 = 0x4;
710
TXIF : constant uint8 = 0x4;
711
TXIP : constant uint8 = 0x4;
712
UA : constant uint8 = 0x1;
713
VCFG0 : constant uint8 = 0x4;
714
VCFG1 : constant uint8 = 0x5;
715
VREFM : constant uint8 = 0x2;
716
VREFP : constant uint8 = 0x3;
717
W : constant uint8 = 0;
718
WCOL : constant uint8 = 0x7;
719
WR : constant uint8 = 0x1;
720
WREN : constant uint8 = 0x2;
721
WRERR : constant uint8 = 0x3;
722
Z : constant uint8 = 0x2;
723
_BORV_25_2L : constant uint8 = 0xff;
724
_BORV_27_2L : constant uint8 = 0xfb;
725
_BORV_42_2L : constant uint8 = 0xf7;
726
_BORV_45_2L : constant uint8 = 0xf3;
727
_BOR_OFF_2L : constant uint8 = 0xfd;
728
_BOR_ON_2L : constant uint8 = 0xff;
729
_CCP2MUX_OFF_3H : constant uint8 = 0xfe;
730
_CCP2MUX_ON_3H : constant uint8 = 0xff;
731
_CCP2MUX_RC1_3H : constant uint8 = 0xff;
732
_CCP2MUX_RE7_3H : constant uint8 = 0xfe;
733
_CONFIG1H : constant uint24 = 0x300001;
734
_CONFIG2H : constant uint24 = 0x300003;
735
_CONFIG2L : constant uint24 = 0x300002;
736
_CONFIG3H : constant uint24 = 0x300005;
737
_CONFIG4L : constant uint24 = 0x300006;
738
_CONFIG5H : constant uint24 = 0x300009;
739
_CONFIG5L : constant uint24 = 0x300008;
740
_CONFIG6H : constant uint24 = 0x30000b;
741
_CONFIG6L : constant uint24 = 0x30000a;
742
_CONFIG7H : constant uint24 = 0x30000d;
743
_CONFIG7L : constant uint24 = 0x30000c;
744
_CP0_OFF_5L : constant uint8 = 0xff;
745
_CP0_ON_5L : constant uint8 = 0xfe;
746
_CP1_OFF_5L : constant uint8 = 0xff;
747
_CP1_ON_5L : constant uint8 = 0xfd;
748
_CP2_OFF_5L : constant uint8 = 0xff;
749
_CP2_ON_5L : constant uint8 = 0xfb;
750
_CP3_OFF_5L : constant uint8 = 0xff;
751
_CP3_ON_5L : constant uint8 = 0xf7;
752
_CPB_OFF_5H : constant uint8 = 0xff;
753
_CPB_ON_5H : constant uint8 = 0xbf;
754
_CPD_OFF_5H : constant uint8 = 0xff;
755
_CPD_ON_5H : constant uint8 = 0x7f;
756
_DEBUG_OFF_4L : constant uint8 = 0xff;
757
_DEBUG_ON_4L : constant uint8 = 0x7f;
758
_DEVID1 : constant uint24 = 0x3ffffe;
759
_DEVID2 : constant uint24 = 0x3fffff;
760
_EBTR0_OFF_7L : constant uint8 = 0xff;
761
_EBTR0_ON_7L : constant uint8 = 0xfe;
762
_EBTR1_OFF_7L : constant uint8 = 0xff;
763
_EBTR1_ON_7L : constant uint8 = 0xfd;
764
_EBTR2_OFF_7L : constant uint8 = 0xff;
765
_EBTR2_ON_7L : constant uint8 = 0xfb;
766
_EBTR3_OFF_7L : constant uint8 = 0xff;
767
_EBTR3_ON_7L : constant uint8 = 0xf7;
768
_EBTRB_OFF_7H : constant uint8 = 0xff;
769
_EBTRB_ON_7H : constant uint8 = 0xbf;
770
_IDLOC0 : constant uint24 = 0x200000;
771
_IDLOC1 : constant uint24 = 0x200001;
772
_IDLOC2 : constant uint24 = 0x200002;
773
_IDLOC3 : constant uint24 = 0x200003;
774
_IDLOC4 : constant uint24 = 0x200004;
775
_IDLOC5 : constant uint24 = 0x200005;
776
_IDLOC6 : constant uint24 = 0x200006;
777
_IDLOC7 : constant uint24 = 0x200007;
778
_LVP_OFF_4L : constant uint8 = 0xfb;
779
_LVP_ON_4L : constant uint8 = 0xff;
780
_OSCS_OFF_1H : constant uint8 = 0xff;
781
_OSCS_ON_1H : constant uint8 = 0xdf;
782
_OSC_ECIO_1H : constant uint8 = 0xfd;
783
_OSC_EC_1H : constant uint8 = 0xfc;
784
_OSC_HSPLL_1H : constant uint8 = 0xfe;
785
_OSC_HS_1H : constant uint8 = 0xfa;
786
_OSC_LP_1H : constant uint8 = 0xf8;
787
_OSC_RCIO_1H : constant uint8 = 0xff;
788
_OSC_RC_1H : constant uint8 = 0xfb;
789
_OSC_XT_1H : constant uint8 = 0xf9;
790
_PWRT_OFF_2L : constant uint8 = 0xff;
791
_PWRT_ON_2L : constant uint8 = 0xfe;
792
_STVR_OFF_4L : constant uint8 = 0xfe;
793
_STVR_ON_4L : constant uint8 = 0xff;
794
_WDTPS_128_2H : constant uint8 = 0xff;
795
_WDTPS_16_2H : constant uint8 = 0xf9;
796
_WDTPS_1_2H : constant uint8 = 0xf1;
797
_WDTPS_2_2H : constant uint8 = 0xf3;
798
_WDTPS_32_2H : constant uint8 = 0xfb;
799
_WDTPS_4_2H : constant uint8 = 0xf5;
800
_WDTPS_64_2H : constant uint8 = 0xfd;
801
_WDTPS_8_2H : constant uint8 = 0xf7;
802
_WDT_OFF_2H : constant uint8 = 0xfe;
803
_WDT_ON_2H : constant uint8 = 0xff;
804
_WRT0_OFF_6L : constant uint8 = 0xff;
805
_WRT0_ON_6L : constant uint8 = 0xfe;
806
_WRT1_OFF_6L : constant uint8 = 0xff;
807
_WRT1_ON_6L : constant uint8 = 0xfd;
808
_WRT2_OFF_6L : constant uint8 = 0xff;
809
_WRT2_ON_6L : constant uint8 = 0xfb;
810
_WRT3_OFF_6L : constant uint8 = 0xff;
811
_WRT3_ON_6L : constant uint8 = 0xf7;
812
_WRTB_OFF_6H : constant uint8 = 0xff;
813
_WRTB_ON_6H : constant uint8 = 0xbf;
814
_WRTC_OFF_6H : constant uint8 = 0xff;
815
_WRTC_ON_6H : constant uint8 = 0xdf;
816
_WRTD_OFF_6H : constant uint8 = 0xff;
817
_WRTD_ON_6H : constant uint8 = 0x7f;
818
__18F6520 : constant uint8 = 0x1;