p24FJ64GB002.gld 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680
  1. /*
  2. ** Linker script for PIC24FJ64GB002
  3. */
  4. OUTPUT_ARCH("24FJ64GB002")
  5. CRT0_STARTUP(crt0_standard.o)
  6. CRT1_STARTUP(crt1_standard.o)
  7. OPTIONAL(-lpPIC24Fxxx)
  8. /*
  9. ** Memory Regions
  10. */
  11. MEMORY
  12. {
  13. data (a!xr) : ORIGIN = 0x800, LENGTH = 0x1FFF
  14. reset : ORIGIN = 0x0, LENGTH = 0x4
  15. ivt : ORIGIN = 0x4, LENGTH = 0xFC
  16. aivt : ORIGIN = 0x104, LENGTH = 0xFC
  17. program (xr) : ORIGIN = 0x200, LENGTH = 0xA9F8
  18. CONFIG4 : ORIGIN = 0xABF8, LENGTH = 0x2
  19. CONFIG3 : ORIGIN = 0xABFA, LENGTH = 0x2
  20. CONFIG2 : ORIGIN = 0xABFC, LENGTH = 0x2
  21. CONFIG1 : ORIGIN = 0xABFE, LENGTH = 0x2
  22. }
  23. __CONFIG4 = 0xABF8;
  24. __CONFIG3 = 0xABFA;
  25. __CONFIG2 = 0xABFC;
  26. __CONFIG1 = 0xABFE;
  27. __NO_HANDLES = 1; /* Suppress handles on this device */
  28. __IVT_BASE = 0x4;
  29. __AIVT_BASE = 0x104;
  30. __DATA_BASE = 0x800;
  31. __CODE_BASE = 0x200;
  32. /*
  33. ** ==================== Section Map ======================
  34. */
  35. SECTIONS
  36. {
  37. /*
  38. ** ========== Program Memory ==========
  39. */
  40. /*
  41. ** Reset Instruction
  42. */
  43. .reset :
  44. {
  45. SHORT(ABSOLUTE(__reset));
  46. SHORT(0x04);
  47. SHORT((ABSOLUTE(__reset) >> 16) & 0x7F);
  48. SHORT(0);
  49. } >reset
  50. /*
  51. ** Interrupt Vector Tables
  52. **
  53. ** The primary and alternate tables are loaded
  54. ** here, between sections .reset and .text.
  55. ** Vector table source code appears below.
  56. */
  57. /*
  58. ** User Code and Library Code
  59. **
  60. ** This section must not be assigned to __CODE_BASE,
  61. ** because CodeGuard(tm) sections may be located there.
  62. **
  63. ** Note that input sections *(.text) are not mapped here.
  64. ** The best-fit allocator locates them, so that .text
  65. ** may flow around PSV sections as needed.
  66. */
  67. .text :
  68. {
  69. *(.init);
  70. *(.user_init);
  71. *(.handle);
  72. *(.libc) *(.libm) *(.libdsp); /* keep together in this order */
  73. *(.lib*);
  74. } >program
  75. /*
  76. ** User-Defined Section in Program Memory
  77. **
  78. ** note: can specify an address using
  79. ** the following syntax:
  80. **
  81. ** usercode 0x1234 :
  82. ** {
  83. ** *(usercode);
  84. ** } >program
  85. */
  86. usercode :
  87. {
  88. *(usercode);
  89. } >program
  90. /*
  91. ** User-Defined Constants in Program Memory
  92. **
  93. ** For PSV type sections, the Load Memory Address (LMA)
  94. ** should be specified as follows:
  95. **
  96. ** userconst : AT(0x1234)
  97. ** {
  98. ** *(userconst);
  99. ** } >program
  100. **
  101. ** Note that mapping PSV sections in linker scripts
  102. ** is not generally recommended.
  103. **
  104. ** Because of page alignment restrictions, memory is
  105. ** often used more efficiently when PSV sections
  106. ** do not appear in the linker script.
  107. **
  108. ** For more information on memory allocation,
  109. ** please refer to chapter 10, 'Linker Processing'
  110. ** in the Assembler, Linker manual (DS51317).
  111. */
  112. /*
  113. ** Configuration Words
  114. */
  115. __CONFIG4 :
  116. { *(__CONFIG4.sec) } >CONFIG4
  117. __CONFIG3 :
  118. { *(__CONFIG3.sec) } >CONFIG3
  119. __CONFIG2 :
  120. { *(__CONFIG2.sec) } >CONFIG2
  121. __CONFIG1 :
  122. { *(__CONFIG1.sec) } >CONFIG1
  123. /*
  124. ** =========== Data Memory ===========
  125. */
  126. /*
  127. ** ICD Debug Exec
  128. **
  129. ** This section provides optional storage for
  130. ** the ICD2 debugger. Define a global symbol
  131. ** named __ICD2RAM to enable ICD2. This section
  132. ** must be loaded at data address 0x800.
  133. */
  134. .icd __DATA_BASE (NOLOAD):
  135. {
  136. . += (DEFINED (__ICD2RAM) ? 0x50 : 0 );
  137. } > data
  138. /*
  139. ** Other sections in data memory are not explicitly mapped.
  140. ** Instead they are allocated according to their section
  141. ** attributes, which is most efficient.
  142. **
  143. ** If a specific arrangement of sections is required
  144. ** (other than what can be achieved using attributes)
  145. ** additional sections may be defined here. See chapter
  146. ** 10.5 in the MPLAB ASM30/LINK30 User's Guide (DS51317)
  147. ** for more information.
  148. */
  149. /*
  150. ** ========== Debug Info ==============
  151. */
  152. .comment 0 : { *(.comment) }
  153. /*
  154. ** DWARF-2
  155. */
  156. .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
  157. .debug_abbrev 0 : { *(.debug_abbrev) }
  158. .debug_line 0 : { *(.debug_line) }
  159. .debug_frame 0 : { *(.debug_frame) }
  160. .debug_str 0 : { *(.debug_str) }
  161. .debug_loc 0 : { *(.debug_loc) }
  162. .debug_macinfo 0 : { *(.debug_macinfo) }
  163. .debug_pubnames 0 : { *(.debug_pubnames) }
  164. .debug_ranges 0 : { *(.debug_ranges) }
  165. .debug_aranges 0 : { *(.debug_aranges) }
  166. } /* SECTIONS */
  167. /*
  168. ** ================= End of Section Map ================
  169. */
  170. /*
  171. ** Section Map for Interrupt Vector Tables
  172. */
  173. SECTIONS
  174. {
  175. /*
  176. ** Interrupt Vector Table
  177. */
  178. .ivt __IVT_BASE :
  179. {
  180. LONG( DEFINED(__ReservedTrap0) ? ABSOLUTE(__ReservedTrap0) :
  181. ABSOLUTE(__DefaultInterrupt));
  182. LONG( DEFINED(__OscillatorFail) ? ABSOLUTE(__OscillatorFail) :
  183. ABSOLUTE(__DefaultInterrupt));
  184. LONG( DEFINED(__AddressError) ? ABSOLUTE(__AddressError) :
  185. ABSOLUTE(__DefaultInterrupt));
  186. LONG( DEFINED(__StackError) ? ABSOLUTE(__StackError) :
  187. ABSOLUTE(__DefaultInterrupt));
  188. LONG( DEFINED(__MathError) ? ABSOLUTE(__MathError) :
  189. ABSOLUTE(__DefaultInterrupt));
  190. LONG( DEFINED(__ReservedTrap5) ? ABSOLUTE(__ReservedTrap5) :
  191. ABSOLUTE(__DefaultInterrupt));
  192. LONG( DEFINED(__ReservedTrap6) ? ABSOLUTE(__ReservedTrap6) :
  193. ABSOLUTE(__DefaultInterrupt));
  194. LONG( DEFINED(__ReservedTrap7) ? ABSOLUTE(__ReservedTrap7) :
  195. ABSOLUTE(__DefaultInterrupt));
  196. LONG( DEFINED(__INT0Interrupt) ? ABSOLUTE(__INT0Interrupt) :
  197. ABSOLUTE(__DefaultInterrupt));
  198. LONG( DEFINED(__IC1Interrupt) ? ABSOLUTE(__IC1Interrupt) :
  199. ABSOLUTE(__DefaultInterrupt));
  200. LONG( DEFINED(__OC1Interrupt) ? ABSOLUTE(__OC1Interrupt) :
  201. ABSOLUTE(__DefaultInterrupt));
  202. LONG( DEFINED(__T1Interrupt) ? ABSOLUTE(__T1Interrupt) :
  203. ABSOLUTE(__DefaultInterrupt));
  204. LONG( DEFINED(__Interrupt4) ? ABSOLUTE(__Interrupt4) :
  205. ABSOLUTE(__DefaultInterrupt));
  206. LONG( DEFINED(__IC2Interrupt) ? ABSOLUTE(__IC2Interrupt) :
  207. ABSOLUTE(__DefaultInterrupt));
  208. LONG( DEFINED(__OC2Interrupt) ? ABSOLUTE(__OC2Interrupt) :
  209. ABSOLUTE(__DefaultInterrupt));
  210. LONG( DEFINED(__T2Interrupt) ? ABSOLUTE(__T2Interrupt) :
  211. ABSOLUTE(__DefaultInterrupt));
  212. LONG( DEFINED(__T3Interrupt) ? ABSOLUTE(__T3Interrupt) :
  213. ABSOLUTE(__DefaultInterrupt));
  214. LONG( DEFINED(__SPI1ErrInterrupt) ? ABSOLUTE(__SPI1ErrInterrupt) :
  215. ABSOLUTE(__DefaultInterrupt));
  216. LONG( DEFINED(__SPI1Interrupt) ? ABSOLUTE(__SPI1Interrupt) :
  217. ABSOLUTE(__DefaultInterrupt));
  218. LONG( DEFINED(__U1RXInterrupt) ? ABSOLUTE(__U1RXInterrupt) :
  219. ABSOLUTE(__DefaultInterrupt));
  220. LONG( DEFINED(__U1TXInterrupt) ? ABSOLUTE(__U1TXInterrupt) :
  221. ABSOLUTE(__DefaultInterrupt));
  222. LONG( DEFINED(__ADC1Interrupt) ? ABSOLUTE(__ADC1Interrupt) :
  223. ABSOLUTE(__DefaultInterrupt));
  224. LONG( DEFINED(__Interrupt14) ? ABSOLUTE(__Interrupt14) :
  225. ABSOLUTE(__DefaultInterrupt));
  226. LONG( DEFINED(__Interrupt15) ? ABSOLUTE(__Interrupt15) :
  227. ABSOLUTE(__DefaultInterrupt));
  228. LONG( DEFINED(__SI2C1Interrupt) ? ABSOLUTE(__SI2C1Interrupt) :
  229. ABSOLUTE(__DefaultInterrupt));
  230. LONG( DEFINED(__MI2C1Interrupt) ? ABSOLUTE(__MI2C1Interrupt) :
  231. ABSOLUTE(__DefaultInterrupt));
  232. LONG( DEFINED(__CompInterrupt) ? ABSOLUTE(__CompInterrupt) :
  233. ABSOLUTE(__DefaultInterrupt));
  234. LONG( DEFINED(__CNInterrupt) ? ABSOLUTE(__CNInterrupt) :
  235. ABSOLUTE(__DefaultInterrupt));
  236. LONG( DEFINED(__INT1Interrupt) ? ABSOLUTE(__INT1Interrupt) :
  237. ABSOLUTE(__DefaultInterrupt));
  238. LONG( DEFINED(__Interrupt21) ? ABSOLUTE(__Interrupt21) :
  239. ABSOLUTE(__DefaultInterrupt));
  240. LONG( DEFINED(__Interrupt22) ? ABSOLUTE(__Interrupt22) :
  241. ABSOLUTE(__DefaultInterrupt));
  242. LONG( DEFINED(__Interrupt23) ? ABSOLUTE(__Interrupt23) :
  243. ABSOLUTE(__DefaultInterrupt));
  244. LONG( DEFINED(__Interrupt24) ? ABSOLUTE(__Interrupt24) :
  245. ABSOLUTE(__DefaultInterrupt));
  246. LONG( DEFINED(__OC3Interrupt) ? ABSOLUTE(__OC3Interrupt) :
  247. ABSOLUTE(__DefaultInterrupt));
  248. LONG( DEFINED(__OC4Interrupt) ? ABSOLUTE(__OC4Interrupt) :
  249. ABSOLUTE(__DefaultInterrupt));
  250. LONG( DEFINED(__T4Interrupt) ? ABSOLUTE(__T4Interrupt) :
  251. ABSOLUTE(__DefaultInterrupt));
  252. LONG( DEFINED(__T5Interrupt) ? ABSOLUTE(__T5Interrupt) :
  253. ABSOLUTE(__DefaultInterrupt));
  254. LONG( DEFINED(__INT2Interrupt) ? ABSOLUTE(__INT2Interrupt) :
  255. ABSOLUTE(__DefaultInterrupt));
  256. LONG( DEFINED(__U2RXInterrupt) ? ABSOLUTE(__U2RXInterrupt) :
  257. ABSOLUTE(__DefaultInterrupt));
  258. LONG( DEFINED(__U2TXInterrupt) ? ABSOLUTE(__U2TXInterrupt) :
  259. ABSOLUTE(__DefaultInterrupt));
  260. LONG( DEFINED(__SPI2ErrInterrupt) ? ABSOLUTE(__SPI2ErrInterrupt) :
  261. ABSOLUTE(__DefaultInterrupt));
  262. LONG( DEFINED(__SPI2Interrupt) ? ABSOLUTE(__SPI2Interrupt) :
  263. ABSOLUTE(__DefaultInterrupt));
  264. LONG( DEFINED(__Interrupt34) ? ABSOLUTE(__Interrupt34) :
  265. ABSOLUTE(__DefaultInterrupt));
  266. LONG( DEFINED(__Interrupt35) ? ABSOLUTE(__Interrupt35) :
  267. ABSOLUTE(__DefaultInterrupt));
  268. LONG( DEFINED(__Interrupt36) ? ABSOLUTE(__Interrupt36) :
  269. ABSOLUTE(__DefaultInterrupt));
  270. LONG( DEFINED(__IC3Interrupt) ? ABSOLUTE(__IC3Interrupt) :
  271. ABSOLUTE(__DefaultInterrupt));
  272. LONG( DEFINED(__IC4Interrupt) ? ABSOLUTE(__IC4Interrupt) :
  273. ABSOLUTE(__DefaultInterrupt));
  274. LONG( DEFINED(__IC5Interrupt) ? ABSOLUTE(__IC5Interrupt) :
  275. ABSOLUTE(__DefaultInterrupt));
  276. LONG( DEFINED(__Interrupt40) ? ABSOLUTE(__Interrupt40) :
  277. ABSOLUTE(__DefaultInterrupt));
  278. LONG( DEFINED(__OC5Interrupt) ? ABSOLUTE(__OC5Interrupt) :
  279. ABSOLUTE(__DefaultInterrupt));
  280. LONG( DEFINED(__Interrupt42) ? ABSOLUTE(__Interrupt42) :
  281. ABSOLUTE(__DefaultInterrupt));
  282. LONG( DEFINED(__Interrupt43) ? ABSOLUTE(__Interrupt43) :
  283. ABSOLUTE(__DefaultInterrupt));
  284. LONG( DEFINED(__Interrupt44) ? ABSOLUTE(__Interrupt44) :
  285. ABSOLUTE(__DefaultInterrupt));
  286. LONG( DEFINED(__PMPInterrupt) ? ABSOLUTE(__PMPInterrupt) :
  287. ABSOLUTE(__DefaultInterrupt));
  288. LONG( DEFINED(__Interrupt46) ? ABSOLUTE(__Interrupt46) :
  289. ABSOLUTE(__DefaultInterrupt));
  290. LONG( DEFINED(__Interrupt47) ? ABSOLUTE(__Interrupt47) :
  291. ABSOLUTE(__DefaultInterrupt));
  292. LONG( DEFINED(__Interrupt48) ? ABSOLUTE(__Interrupt48) :
  293. ABSOLUTE(__DefaultInterrupt));
  294. LONG( DEFINED(__SI2C2Interrupt) ? ABSOLUTE(__SI2C2Interrupt) :
  295. ABSOLUTE(__DefaultInterrupt));
  296. LONG( DEFINED(__MI2C2Interrupt) ? ABSOLUTE(__MI2C2Interrupt) :
  297. ABSOLUTE(__DefaultInterrupt));
  298. LONG( DEFINED(__Interrupt51) ? ABSOLUTE(__Interrupt51) :
  299. ABSOLUTE(__DefaultInterrupt));
  300. LONG( DEFINED(__Interrupt52) ? ABSOLUTE(__Interrupt52) :
  301. ABSOLUTE(__DefaultInterrupt));
  302. LONG( DEFINED(__Interrupt53) ? ABSOLUTE(__Interrupt53) :
  303. ABSOLUTE(__DefaultInterrupt));
  304. LONG( DEFINED(__Interrupt54) ? ABSOLUTE(__Interrupt54) :
  305. ABSOLUTE(__DefaultInterrupt));
  306. LONG( DEFINED(__Interrupt55) ? ABSOLUTE(__Interrupt55) :
  307. ABSOLUTE(__DefaultInterrupt));
  308. LONG( DEFINED(__Interrupt56) ? ABSOLUTE(__Interrupt56) :
  309. ABSOLUTE(__DefaultInterrupt));
  310. LONG( DEFINED(__Interrupt57) ? ABSOLUTE(__Interrupt57) :
  311. ABSOLUTE(__DefaultInterrupt));
  312. LONG( DEFINED(__Interrupt58) ? ABSOLUTE(__Interrupt58) :
  313. ABSOLUTE(__DefaultInterrupt));
  314. LONG( DEFINED(__Interrupt59) ? ABSOLUTE(__Interrupt59) :
  315. ABSOLUTE(__DefaultInterrupt));
  316. LONG( DEFINED(__Interrupt60) ? ABSOLUTE(__Interrupt60) :
  317. ABSOLUTE(__DefaultInterrupt));
  318. LONG( DEFINED(__Interrupt61) ? ABSOLUTE(__Interrupt61) :
  319. ABSOLUTE(__DefaultInterrupt));
  320. LONG( DEFINED(__RTCCInterrupt) ? ABSOLUTE(__RTCCInterrupt) :
  321. ABSOLUTE(__DefaultInterrupt));
  322. LONG( DEFINED(__Interrupt63) ? ABSOLUTE(__Interrupt63) :
  323. ABSOLUTE(__DefaultInterrupt));
  324. LONG( DEFINED(__Interrupt64) ? ABSOLUTE(__Interrupt64) :
  325. ABSOLUTE(__DefaultInterrupt));
  326. LONG( DEFINED(__U1ErrInterrupt) ? ABSOLUTE(__U1ErrInterrupt) :
  327. ABSOLUTE(__DefaultInterrupt));
  328. LONG( DEFINED(__U2ErrInterrupt) ? ABSOLUTE(__U2ErrInterrupt) :
  329. ABSOLUTE(__DefaultInterrupt));
  330. LONG( DEFINED(__CRCInterrupt) ? ABSOLUTE(__CRCInterrupt) :
  331. ABSOLUTE(__DefaultInterrupt));
  332. LONG( DEFINED(__Interrupt68) ? ABSOLUTE(__Interrupt68) :
  333. ABSOLUTE(__DefaultInterrupt));
  334. LONG( DEFINED(__Interrupt69) ? ABSOLUTE(__Interrupt69) :
  335. ABSOLUTE(__DefaultInterrupt));
  336. LONG( DEFINED(__Interrupt70) ? ABSOLUTE(__Interrupt70) :
  337. ABSOLUTE(__DefaultInterrupt));
  338. LONG( DEFINED(__Interrupt71) ? ABSOLUTE(__Interrupt71) :
  339. ABSOLUTE(__DefaultInterrupt));
  340. LONG( DEFINED(__LVDInterrupt) ? ABSOLUTE(__LVDInterrupt) :
  341. ABSOLUTE(__DefaultInterrupt));
  342. LONG( DEFINED(__Interrupt73) ? ABSOLUTE(__Interrupt73) :
  343. ABSOLUTE(__DefaultInterrupt));
  344. LONG( DEFINED(__Interrupt74) ? ABSOLUTE(__Interrupt74) :
  345. ABSOLUTE(__DefaultInterrupt));
  346. LONG( DEFINED(__Interrupt75) ? ABSOLUTE(__Interrupt75) :
  347. ABSOLUTE(__DefaultInterrupt));
  348. LONG( DEFINED(__Interrupt76) ? ABSOLUTE(__Interrupt76) :
  349. ABSOLUTE(__DefaultInterrupt));
  350. LONG( DEFINED(__CTMUInterrupt) ? ABSOLUTE(__CTMUInterrupt) :
  351. ABSOLUTE(__DefaultInterrupt));
  352. LONG( DEFINED(__Interrupt78) ? ABSOLUTE(__Interrupt78) :
  353. ABSOLUTE(__DefaultInterrupt));
  354. LONG( DEFINED(__Interrupt79) ? ABSOLUTE(__Interrupt79) :
  355. ABSOLUTE(__DefaultInterrupt));
  356. LONG( DEFINED(__Interrupt80) ? ABSOLUTE(__Interrupt80) :
  357. ABSOLUTE(__DefaultInterrupt));
  358. LONG( DEFINED(__Interrupt81) ? ABSOLUTE(__Interrupt81) :
  359. ABSOLUTE(__DefaultInterrupt));
  360. LONG( DEFINED(__Interrupt82) ? ABSOLUTE(__Interrupt82) :
  361. ABSOLUTE(__DefaultInterrupt));
  362. LONG( DEFINED(__Interrupt83) ? ABSOLUTE(__Interrupt83) :
  363. ABSOLUTE(__DefaultInterrupt));
  364. LONG( DEFINED(__Interrupt84) ? ABSOLUTE(__Interrupt84) :
  365. ABSOLUTE(__DefaultInterrupt));
  366. LONG( DEFINED(__Interrupt85) ? ABSOLUTE(__Interrupt85) :
  367. ABSOLUTE(__DefaultInterrupt));
  368. LONG( DEFINED(__USB1Interrupt) ? ABSOLUTE(__USB1Interrupt) :
  369. ABSOLUTE(__DefaultInterrupt));
  370. LONG( DEFINED(__Interrupt87) ? ABSOLUTE(__Interrupt87) :
  371. ABSOLUTE(__DefaultInterrupt));
  372. LONG( DEFINED(__Interrupt88) ? ABSOLUTE(__Interrupt88) :
  373. ABSOLUTE(__DefaultInterrupt));
  374. LONG( DEFINED(__Interrupt89) ? ABSOLUTE(__Interrupt89) :
  375. ABSOLUTE(__DefaultInterrupt));
  376. LONG( DEFINED(__Interrupt90) ? ABSOLUTE(__Interrupt90) :
  377. ABSOLUTE(__DefaultInterrupt));
  378. LONG( DEFINED(__Interrupt91) ? ABSOLUTE(__Interrupt91) :
  379. ABSOLUTE(__DefaultInterrupt));
  380. LONG( DEFINED(__Interrupt92) ? ABSOLUTE(__Interrupt92) :
  381. ABSOLUTE(__DefaultInterrupt));
  382. LONG( DEFINED(__Interrupt93) ? ABSOLUTE(__Interrupt93) :
  383. ABSOLUTE(__DefaultInterrupt));
  384. LONG( DEFINED(__Interrupt94) ? ABSOLUTE(__Interrupt94) :
  385. ABSOLUTE(__DefaultInterrupt));
  386. LONG( DEFINED(__Interrupt95) ? ABSOLUTE(__Interrupt95) :
  387. ABSOLUTE(__DefaultInterrupt));
  388. LONG( DEFINED(__Interrupt96) ? ABSOLUTE(__Interrupt96) :
  389. ABSOLUTE(__DefaultInterrupt));
  390. LONG( DEFINED(__Interrupt97) ? ABSOLUTE(__Interrupt97) :
  391. ABSOLUTE(__DefaultInterrupt));
  392. LONG( DEFINED(__Interrupt98) ? ABSOLUTE(__Interrupt98) :
  393. ABSOLUTE(__DefaultInterrupt));
  394. LONG( DEFINED(__Interrupt99) ? ABSOLUTE(__Interrupt99) :
  395. ABSOLUTE(__DefaultInterrupt));
  396. LONG( DEFINED(__Interrupt100) ? ABSOLUTE(__Interrupt100) :
  397. ABSOLUTE(__DefaultInterrupt));
  398. LONG( DEFINED(__Interrupt101) ? ABSOLUTE(__Interrupt101) :
  399. ABSOLUTE(__DefaultInterrupt));
  400. LONG( DEFINED(__Interrupt102) ? ABSOLUTE(__Interrupt102) :
  401. ABSOLUTE(__DefaultInterrupt));
  402. LONG( DEFINED(__Interrupt103) ? ABSOLUTE(__Interrupt103) :
  403. ABSOLUTE(__DefaultInterrupt));
  404. LONG( DEFINED(__Interrupt104) ? ABSOLUTE(__Interrupt104) :
  405. ABSOLUTE(__DefaultInterrupt));
  406. LONG( DEFINED(__Interrupt105) ? ABSOLUTE(__Interrupt105) :
  407. ABSOLUTE(__DefaultInterrupt));
  408. LONG( DEFINED(__Interrupt106) ? ABSOLUTE(__Interrupt106) :
  409. ABSOLUTE(__DefaultInterrupt));
  410. LONG( DEFINED(__Interrupt107) ? ABSOLUTE(__Interrupt107) :
  411. ABSOLUTE(__DefaultInterrupt));
  412. LONG( DEFINED(__Interrupt108) ? ABSOLUTE(__Interrupt108) :
  413. ABSOLUTE(__DefaultInterrupt));
  414. LONG( DEFINED(__Interrupt109) ? ABSOLUTE(__Interrupt109) :
  415. ABSOLUTE(__DefaultInterrupt));
  416. LONG( DEFINED(__Interrupt110) ? ABSOLUTE(__Interrupt110) :
  417. ABSOLUTE(__DefaultInterrupt));
  418. LONG( DEFINED(__Interrupt111) ? ABSOLUTE(__Interrupt111) :
  419. ABSOLUTE(__DefaultInterrupt));
  420. LONG( DEFINED(__Interrupt112) ? ABSOLUTE(__Interrupt112) :
  421. ABSOLUTE(__DefaultInterrupt));
  422. LONG( DEFINED(__Interrupt113) ? ABSOLUTE(__Interrupt113) :
  423. ABSOLUTE(__DefaultInterrupt));
  424. LONG( DEFINED(__Interrupt114) ? ABSOLUTE(__Interrupt114) :
  425. ABSOLUTE(__DefaultInterrupt));
  426. LONG( DEFINED(__Interrupt115) ? ABSOLUTE(__Interrupt115) :
  427. ABSOLUTE(__DefaultInterrupt));
  428. LONG( DEFINED(__Interrupt116) ? ABSOLUTE(__Interrupt116) :
  429. ABSOLUTE(__DefaultInterrupt));
  430. LONG( DEFINED(__Interrupt117) ? ABSOLUTE(__Interrupt117) :
  431. ABSOLUTE(__DefaultInterrupt));
  432. } >ivt
  433. /*
  434. ** Alternate Interrupt Vector Table
  435. */
  436. .aivt __AIVT_BASE :
  437. {
  438. LONG( DEFINED(__AltReservedTrap0) ? ABSOLUTE(__AltReservedTrap0) :
  439. (DEFINED(__ReservedTrap0) ? ABSOLUTE(__ReservedTrap0) :
  440. ABSOLUTE(__DefaultInterrupt)));
  441. LONG( DEFINED(__AltOscillatorFail) ? ABSOLUTE(__AltOscillatorFail) :
  442. (DEFINED(__OscillatorFail) ? ABSOLUTE(__OscillatorFail) :
  443. ABSOLUTE(__DefaultInterrupt)));
  444. LONG( DEFINED(__AltAddressError) ? ABSOLUTE(__AltAddressError) :
  445. (DEFINED(__AddressError) ? ABSOLUTE(__AddressError) :
  446. ABSOLUTE(__DefaultInterrupt)));
  447. LONG( DEFINED(__AltStackError) ? ABSOLUTE(__AltStackError) :
  448. (DEFINED(__StackError) ? ABSOLUTE(__StackError) :
  449. ABSOLUTE(__DefaultInterrupt)));
  450. LONG( DEFINED(__AltMathError) ? ABSOLUTE(__AltMathError) :
  451. (DEFINED(__MathError) ? ABSOLUTE(__MathError) :
  452. ABSOLUTE(__DefaultInterrupt)));
  453. LONG( DEFINED(__AltReservedTrap5) ? ABSOLUTE(__AltReservedTrap5) :
  454. (DEFINED(__ReservedTrap5) ? ABSOLUTE(__ReservedTrap5) :
  455. ABSOLUTE(__DefaultInterrupt)));
  456. LONG( DEFINED(__AltReservedTrap6) ? ABSOLUTE(__AltReservedTrap6) :
  457. (DEFINED(__ReservedTrap6) ? ABSOLUTE(__ReservedTrap6) :
  458. ABSOLUTE(__DefaultInterrupt)));
  459. LONG( DEFINED(__AltReservedTrap7) ? ABSOLUTE(__AltReservedTrap7) :
  460. (DEFINED(__ReservedTrap7) ? ABSOLUTE(__ReservedTrap7) :
  461. ABSOLUTE(__DefaultInterrupt)));
  462. LONG( DEFINED(__AltINT0Interrupt) ? ABSOLUTE(__AltINT0Interrupt) :
  463. (DEFINED(__INT0Interrupt) ? ABSOLUTE(__INT0Interrupt) :
  464. ABSOLUTE(__DefaultInterrupt)));
  465. LONG( DEFINED(__AltIC1Interrupt) ? ABSOLUTE(__AltIC1Interrupt) :
  466. (DEFINED(__IC1Interrupt) ? ABSOLUTE(__IC1Interrupt) :
  467. ABSOLUTE(__DefaultInterrupt)));
  468. LONG( DEFINED(__AltOC1Interrupt) ? ABSOLUTE(__AltOC1Interrupt) :
  469. (DEFINED(__OC1Interrupt) ? ABSOLUTE(__OC1Interrupt) :
  470. ABSOLUTE(__DefaultInterrupt)));
  471. LONG( DEFINED(__AltT1Interrupt) ? ABSOLUTE(__AltT1Interrupt) :
  472. (DEFINED(__T1Interrupt) ? ABSOLUTE(__T1Interrupt) :
  473. ABSOLUTE(__DefaultInterrupt)));
  474. LONG( DEFINED(__AltInterrupt4) ? ABSOLUTE(__AltInterrupt4) :
  475. (DEFINED(__Interrupt4) ? ABSOLUTE(__Interrupt4) :
  476. ABSOLUTE(__DefaultInterrupt)));
  477. LONG( DEFINED(__AltIC2Interrupt) ? ABSOLUTE(__AltIC2Interrupt) :
  478. (DEFINED(__IC2Interrupt) ? ABSOLUTE(__IC2Interrupt) :
  479. ABSOLUTE(__DefaultInterrupt)));
  480. LONG( DEFINED(__AltOC2Interrupt) ? ABSOLUTE(__AltOC2Interrupt) :
  481. (DEFINED(__OC2Interrupt) ? ABSOLUTE(__OC2Interrupt) :
  482. ABSOLUTE(__DefaultInterrupt)));
  483. LONG( DEFINED(__AltT2Interrupt) ? ABSOLUTE(__AltT2Interrupt) :
  484. (DEFINED(__T2Interrupt) ? ABSOLUTE(__T2Interrupt) :
  485. ABSOLUTE(__DefaultInterrupt)));
  486. LONG( DEFINED(__AltT3Interrupt) ? ABSOLUTE(__AltT3Interrupt) :
  487. (DEFINED(__T3Interrupt) ? ABSOLUTE(__T3Interrupt) :
  488. ABSOLUTE(__DefaultInterrupt)));
  489. LONG( DEFINED(__AltSPI1ErrInterrupt) ? ABSOLUTE(__AltSPI1ErrInterrupt) :
  490. (DEFINED(__SPI1ErrInterrupt) ? ABSOLUTE(__SPI1ErrInterrupt) :
  491. ABSOLUTE(__DefaultInterrupt)));
  492. LONG( DEFINED(__AltSPI1Interrupt) ? ABSOLUTE(__AltSPI1Interrupt) :
  493. (DEFINED(__SPI1Interrupt) ? ABSOLUTE(__SPI1Interrupt) :
  494. ABSOLUTE(__DefaultInterrupt)));
  495. LONG( DEFINED(__AltU1RXInterrupt) ? ABSOLUTE(__AltU1RXInterrupt) :
  496. (DEFINED(__U1RXInterrupt) ? ABSOLUTE(__U1RXInterrupt) :
  497. ABSOLUTE(__DefaultInterrupt)));
  498. LONG( DEFINED(__AltU1TXInterrupt) ? ABSOLUTE(__AltU1TXInterrupt) :
  499. (DEFINED(__U1TXInterrupt) ? ABSOLUTE(__U1TXInterrupt) :
  500. ABSOLUTE(__DefaultInterrupt)));
  501. LONG( DEFINED(__AltADC1Interrupt) ? ABSOLUTE(__AltADC1Interrupt) :
  502. (DEFINED(__ADC1Interrupt) ? ABSOLUTE(__ADC1Interrupt) :
  503. ABSOLUTE(__DefaultInterrupt)));
  504. LONG( DEFINED(__AltInterrupt14) ? ABSOLUTE(__AltInterrupt14) :
  505. (DEFINED(__Interrupt14) ? ABSOLUTE(__Interrupt14) :
  506. ABSOLUTE(__DefaultInterrupt)));
  507. LONG( DEFINED(__AltInterrupt15) ? ABSOLUTE(__AltInterrupt15) :
  508. (DEFINED(__Interrupt15) ? ABSOLUTE(__Interrupt15) :
  509. ABSOLUTE(__DefaultInterrupt)));
  510. LONG( DEFINED(__AltSI2C1Interrupt) ? ABSOLUTE(__AltSI2C1Interrupt) :
  511. (DEFINED(__SI2C1Interrupt) ? ABSOLUTE(__SI2C1Interrupt) :
  512. ABSOLUTE(__DefaultInterrupt)));
  513. LONG( DEFINED(__AltMI2C1Interrupt) ? ABSOLUTE(__AltMI2C1Interrupt) :
  514. (DEFINED(__MI2C1Interrupt) ? ABSOLUTE(__MI2C1Interrupt) :
  515. ABSOLUTE(__DefaultInterrupt)));
  516. LONG( DEFINED(__AltCompInterrupt) ? ABSOLUTE(__AltCompInterrupt) :
  517. (DEFINED(__CompInterrupt) ? ABSOLUTE(__CompInterrupt) :
  518. ABSOLUTE(__DefaultInterrupt)));
  519. LONG( DEFINED(__AltCNInterrupt) ? ABSOLUTE(__AltCNInterrupt) :
  520. (DEFINED(__CNInterrupt) ? ABSOLUTE(__CNInterrupt) :
  521. ABSOLUTE(__DefaultInterrupt)));
  522. LONG( DEFINED(__AltINT1Interrupt) ? ABSOLUTE(__AltINT1Interrupt) :
  523. (DEFINED(__INT1Interrupt) ? ABSOLUTE(__INT1Interrupt) :
  524. ABSOLUTE(__DefaultInterrupt)));
  525. LONG( DEFINED(__AltInterrupt21) ? ABSOLUTE(__AltInterrupt21) :
  526. (DEFINED(__Interrupt21) ? ABSOLUTE(__Interrupt21) :
  527. ABSOLUTE(__DefaultInterrupt)));
  528. LONG( DEFINED(__AltInterrupt22) ? ABSOLUTE(__AltInterrupt22) :
  529. (DEFINED(__Interrupt22) ? ABSOLUTE(__Interrupt22) :
  530. ABSOLUTE(__DefaultInterrupt)));
  531. LONG( DEFINED(__AltInterrupt23) ? ABSOLUTE(__AltInterrupt23) :
  532. (DEFINED(__Interrupt23) ? ABSOLUTE(__Interrupt23) :
  533. ABSOLUTE(__DefaultInterrupt)));
  534. LONG( DEFINED(__AltInterrupt24) ? ABSOLUTE(__AltInterrupt24) :
  535. (DEFINED(__Interrupt24) ? ABSOLUTE(__Interrupt24) :
  536. ABSOLUTE(__DefaultInterrupt)));
  537. LONG( DEFINED(__AltOC3Interrupt) ? ABSOLUTE(__AltOC3Interrupt) :
  538. (DEFINED(__OC3Interrupt) ? ABSOLUTE(__OC3Interrupt) :
  539. ABSOLUTE(__DefaultInterrupt)));
  540. LONG( DEFINED(__AltOC4Interrupt) ? ABSOLUTE(__AltOC4Interrupt) :
  541. (DEFINED(__OC4Interrupt) ? ABSOLUTE(__OC4Interrupt) :
  542. ABSOLUTE(__DefaultInterrupt)));
  543. LONG( DEFINED(__AltT4Interrupt) ? ABSOLUTE(__AltT4Interrupt) :
  544. (DEFINED(__T4Interrupt) ? ABSOLUTE(__T4Interrupt) :
  545. ABSOLUTE(__DefaultInterrupt)));
  546. LONG( DEFINED(__AltT5Interrupt) ? ABSOLUTE(__AltT5Interrupt) :
  547. (DEFINED(__T5Interrupt) ? ABSOLUTE(__T5Interrupt) :
  548. ABSOLUTE(__DefaultInterrupt)));
  549. LONG( DEFINED(__AltINT2Interrupt) ? ABSOLUTE(__AltINT2Interrupt) :
  550. (DEFINED(__INT2Interrupt) ? ABSOLUTE(__INT2Interrupt) :
  551. ABSOLUTE(__DefaultInterrupt)));
  552. LONG( DEFINED(__AltU2RXInterrupt) ? ABSOLUTE(__AltU2RXInterrupt) :
  553. (DEFINED(__U2RXInterrupt) ? ABSOLUTE(__U2RXInterrupt) :
  554. ABSOLUTE(__DefaultInterrupt)));
  555. LONG( DEFINED(__AltU2TXInterrupt) ? ABSOLUTE(__AltU2TXInterrupt) :
  556. (DEFINED(__U2TXInterrupt) ? ABSOLUTE(__U2TXInterrupt) :
  557. ABSOLUTE(__DefaultInterrupt)));
  558. LONG( DEFINED(__AltSPI2ErrInterrupt) ? ABSOLUTE(__AltSPI2ErrInterrupt) :
  559. (DEFINED(__SPI2ErrInterrupt) ? ABSOLUTE(__SPI2ErrInterrupt) :
  560. ABSOLUTE(__DefaultInterrupt)));
  561. LONG( DEFINED(__AltSPI2Interrupt) ? ABSOLUTE(__AltSPI2Interrupt) :
  562. (DEFINED(__SPI2Interrupt) ? ABSOLUTE(__SPI2Interrupt) :
  563. ABSOLUTE(__DefaultInterrupt)));
  564. LONG( DEFINED(__AltInterrupt34) ? ABSOLUTE(__AltInterrupt34) :
  565. (DEFINED(__Interrupt34) ? ABSOLUTE(__Interrupt34) :
  566. ABSOLUTE(__DefaultInterrupt)));
  567. LONG( DEFINED(__AltInterrupt35) ? ABSOLUTE(__AltInterrupt35) :
  568. (DEFINED(__Interrupt35) ? ABSOLUTE(__Interrupt35) :
  569. ABSOLUTE(__DefaultInterrupt)));
  570. LONG( DEFINED(__AltInterrupt36) ? ABSOLUTE(__AltInterrupt36) :
  571. (DEFINED(__Interrupt36) ? ABSOLUTE(__Interrupt36) :
  572. ABSOLUTE(__DefaultInterrupt)));
  573. LONG( DEFINED(__AltIC3Interrupt) ? ABSOLUTE(__AltIC3Interrupt) :
  574. (DEFINED(__IC3Interrupt) ? ABSOLUTE(__IC3Interrupt) :
  575. ABSOLUTE(__DefaultInterrupt)));
  576. LONG( DEFINED(__AltIC4Interrupt) ? ABSOLUTE(__AltIC4Interrupt) :
  577. (DEFINED(__IC4Interrupt) ? ABSOLUTE(__IC4Interrupt) :
  578. ABSOLUTE(__DefaultInterrupt)));
  579. LONG( DEFINED(__AltIC5Interrupt) ? ABSOLUTE(__AltIC5Interrupt) :
  580. (DEFINED(__IC5Interrupt) ? ABSOLUTE(__IC5Interrupt) :
  581. ABSOLUTE(__DefaultInterrupt)));
  582. LONG( DEFINED(__AltInterrupt40) ? ABSOLUTE(__AltInterrupt40) :
  583. (DEFINED(__Interrupt40) ? ABSOLUTE(__Interrupt40) :
  584. ABSOLUTE(__DefaultInterrupt)));
  585. LONG( DEFINED(__AltOC5Interrupt) ? ABSOLUTE(__AltOC5Interrupt) :
  586. (DEFINED(__OC5Interrupt) ? ABSOLUTE(__OC5Interrupt) :
  587. ABSOLUTE(__DefaultInterrupt)));
  588. LONG( DEFINED(__AltInterrupt42) ? ABSOLUTE(__AltInterrupt42) :
  589. (DEFINED(__Interrupt42) ? ABSOLUTE(__Interrupt42) :
  590. ABSOLUTE(__DefaultInterrupt)));
  591. LONG( DEFINED(__AltInterrupt43) ? ABSOLUTE(__AltInterrupt43) :
  592. (DEFINED(__Interrupt43) ? ABSOLUTE(__Interrupt43) :
  593. ABSOLUTE(__DefaultInterrupt)));
  594. LONG( DEFINED(__AltInterrupt44) ? ABSOLUTE(__AltInterrupt44) :
  595. (DEFINED(__Interrupt44) ? ABSOLUTE(__Interrupt44) :
  596. ABSOLUTE(__DefaultInterrupt)));
  597. LONG( DEFINED(__AltPMPInterrupt) ? ABSOLUTE(__AltPMPInterrupt) :
  598. (DEFINED(__PMPInterrupt) ? ABSOLUTE(__PMPInterrupt) :
  599. ABSOLUTE(__DefaultInterrupt)));
  600. LONG( DEFINED(__AltInterrupt46) ? ABSOLUTE(__AltInterrupt46) :
  601. (DEFINED(__Interrupt46) ? ABSOLUTE(__Interrupt46) :
  602. ABSOLUTE(__DefaultInterrupt)));
  603. LONG( DEFINED(__AltInterrupt47) ? ABSOLUTE(__AltInterrupt47) :
  604. (DEFINED(__Interrupt47) ? ABSOLUTE(__Interrupt47) :
  605. ABSOLUTE(__DefaultInterrupt)));
  606. LONG( DEFINED(__AltInterrupt48) ? ABSOLUTE(__AltInterrupt48) :
  607. (DEFINED(__Interrupt48) ? ABSOLUTE(__Interrupt48) :
  608. ABSOLUTE(__DefaultInterrupt)));
  609. LONG( DEFINED(__AltSI2C2Interrupt) ? ABSOLUTE(__AltSI2C2Interrupt) :
  610. (DEFINED(__SI2C2Interrupt) ? ABSOLUTE(__SI2C2Interrupt) :
  611. ABSOLUTE(__DefaultInterrupt)));
  612. LONG( DEFINED(__AltMI2C2Interrupt) ? ABSOLUTE(__AltMI2C2Interrupt) :
  613. (DEFINED(__MI2C2Interrupt) ? ABSOLUTE(__MI2C2Interrupt) :
  614. ABSOLUTE(__DefaultInterrupt)));
  615. LONG( DEFINED(__AltInterrupt51) ? ABSOLUTE(__AltInterrupt51) :
  616. (DEFINED(__Interrupt51) ? ABSOLUTE(__Interrupt51) :
  617. ABSOLUTE(__DefaultInterrupt)));
  618. LONG( DEFINED(__AltInterrupt52) ? ABSOLUTE(__AltInterrupt52) :
  619. (DEFINED(__Interrupt52) ? ABSOLUTE(__Interrupt52) :
  620. ABSOLUTE(__DefaultInterrupt)));
  621. LONG( DEFINED(__AltInterrupt53) ? ABSOLUTE(__AltInterrupt53) :
  622. (DEFINED(__Interrupt53) ? ABSOLUTE(__Interrupt53) :
  623. ABSOLUTE(__DefaultInterrupt)));
  624. LONG( DEFINED(__AltInterrupt54) ? ABSOLUTE(__AltInterrupt54) :
  625. (DEFINED(__Interrupt54) ? ABSOLUTE(__Interrupt54) :
  626. ABSOLUTE(__DefaultInterrupt)));
  627. LONG( DEFINED(__AltInterrupt55) ? ABSOLUTE(__AltInterrupt55) :
  628. (DEFINED(__Interrupt55) ? ABSOLUTE(__Interrupt55) :
  629. ABSOLUTE(__DefaultInterrupt)));
  630. LONG( DEFINED(__AltInterrupt56) ? ABSOLUTE(__AltInterrupt56) :
  631. (DEFINED(__Interrupt56) ? ABSOLUTE(__Interrupt56) :
  632. ABSOLUTE(__DefaultInterrupt)));
  633. LONG( DEFINED(__AltInterrupt57) ? ABSOLUTE(__AltInterrupt57) :
  634. (DEFINED(__Interrupt57) ? ABSOLUTE(__Interrupt57) :
  635. ABSOLUTE(__DefaultInterrupt)));
  636. LONG( DEFINED(__AltInterrupt58) ? ABSOLUTE(__AltInterrupt58) :
  637. (DEFINED(__Interrupt58) ? ABSOLUTE(__Interrupt58) :
  638. ABSOLUTE(__DefaultInterrupt)));
  639. LONG( DEFINED(__AltInterrupt59) ? ABSOLUTE(__AltInterrupt59) :
  640. (DEFINED(__Interrupt59) ? ABSOLUTE(__Interrupt59) :
  641. ABSOLUTE(__DefaultInterrupt)));
  642. LONG( DEFINED(__AltInterrupt60) ? ABSOLUTE(__AltInterrupt60) :
  643. (DEFINED(__Interrupt60) ? ABSOLUTE(__Interrupt60) :
  644. ABSOLUTE(__DefaultInterrupt)));
  645. LONG( DEFINED(__AltInterrupt61) ? ABSOLUTE(__AltInterrupt61) :
  646. (DEFINED(__Interrupt61) ? ABSOLUTE(__Interrupt61) :
  647. ABSOLUTE(__DefaultInterrupt)));
  648. LONG( DEFINED(__AltRTCCInterrupt) ? ABSOLUTE(__AltRTCCInterrupt) :
  649. (DEFINED(__RTCCInterrupt) ? ABSOLUTE(__RTCCInterrupt) :
  650. ABSOLUTE(__DefaultInterrupt)));
  651. LONG( DEFINED(__AltInterrupt63) ? ABSOLUTE(__AltInterrupt63) :
  652. (DEFINED(__Interrupt63) ? ABSOLUTE(__Interrupt63) :
  653. ABSOLUTE(__DefaultInterrupt)));
  654. LONG( DEFINED(__AltInterrupt64) ? ABSOLUTE(__AltInterrupt64) :
  655. (DEFINED(__Interrupt64) ? ABSOLUTE(__Interrupt64) :
  656. ABSOLUTE(__DefaultInterrupt)));
  657. LONG( DEFINED(__AltU1ErrInterrupt) ? ABSOLUTE(__AltU1ErrInterrupt) :
  658. (DEFINED(__U1ErrInterrupt) ? ABSOLUTE(__U1ErrInterrupt) :
  659. ABSOLUTE(__DefaultInterrupt)));
  660. LONG( DEFINED(__AltU2ErrInterrupt) ? ABSOLUTE(__AltU2ErrInterrupt) :
  661. (DEFINED(__U2ErrInterrupt) ? ABSOLUTE(__U2ErrInterrupt) :
  662. ABSOLUTE(__DefaultInterrupt)));
  663. LONG( DEFINED(__AltCRCInterrupt) ? ABSOLUTE(__AltCRCInterrupt) :
  664. (DEFINED(__CRCInterrupt) ? ABSOLUTE(__CRCInterrupt) :
  665. ABSOLUTE(__DefaultInterrupt)));
  666. LONG( DEFINED(__AltInterrupt68) ? ABSOLUTE(__AltInterrupt68) :
  667. (DEFINED(__Interrupt68) ? ABSOLUTE(__Interrupt68) :
  668. ABSOLUTE(__DefaultInterrupt)));
  669. LONG( DEFINED(__AltInterrupt69) ? ABSOLUTE(__AltInterrupt69) :
  670. (DEFINED(__Interrupt69) ? ABSOLUTE(__Interrupt69) :
  671. ABSOLUTE(__DefaultInterrupt)));
  672. LONG( DEFINED(__AltInterrupt70) ? ABSOLUTE(__AltInterrupt70) :
  673. (DEFINED(__Interrupt70) ? ABSOLUTE(__Interrupt70) :
  674. ABSOLUTE(__DefaultInterrupt)));
  675. LONG( DEFINED(__AltInterrupt71) ? ABSOLUTE(__AltInterrupt71) :
  676. (DEFINED(__Interrupt71) ? ABSOLUTE(__Interrupt71) :
  677. ABSOLUTE(__DefaultInterrupt)));
  678. LONG( DEFINED(__AltLVDInterrupt) ? ABSOLUTE(__AltLVDInterrupt) :
  679. (DEFINED(__LVDInterrupt) ? ABSOLUTE(__LVDInterrupt) :
  680. ABSOLUTE(__DefaultInterrupt)));
  681. LONG( DEFINED(__AltInterrupt73) ? ABSOLUTE(__AltInterrupt73) :
  682. (DEFINED(__Interrupt73) ? ABSOLUTE(__Interrupt73) :
  683. ABSOLUTE(__DefaultInterrupt)));
  684. LONG( DEFINED(__AltInterrupt74) ? ABSOLUTE(__AltInterrupt74) :
  685. (DEFINED(__Interrupt74) ? ABSOLUTE(__Interrupt74) :
  686. ABSOLUTE(__DefaultInterrupt)));
  687. LONG( DEFINED(__AltInterrupt75) ? ABSOLUTE(__AltInterrupt75) :
  688. (DEFINED(__Interrupt75) ? ABSOLUTE(__Interrupt75) :
  689. ABSOLUTE(__DefaultInterrupt)));
  690. LONG( DEFINED(__AltInterrupt76) ? ABSOLUTE(__AltInterrupt76) :
  691. (DEFINED(__Interrupt76) ? ABSOLUTE(__Interrupt76) :
  692. ABSOLUTE(__DefaultInterrupt)));
  693. LONG( DEFINED(__AltCTMUInterrupt) ? ABSOLUTE(__AltCTMUInterrupt) :
  694. (DEFINED(__CTMUInterrupt) ? ABSOLUTE(__CTMUInterrupt) :
  695. ABSOLUTE(__DefaultInterrupt)));
  696. LONG( DEFINED(__AltInterrupt78) ? ABSOLUTE(__AltInterrupt78) :
  697. (DEFINED(__Interrupt78) ? ABSOLUTE(__Interrupt78) :
  698. ABSOLUTE(__DefaultInterrupt)));
  699. LONG( DEFINED(__AltInterrupt79) ? ABSOLUTE(__AltInterrupt79) :
  700. (DEFINED(__Interrupt79) ? ABSOLUTE(__Interrupt79) :
  701. ABSOLUTE(__DefaultInterrupt)));
  702. LONG( DEFINED(__AltInterrupt80) ? ABSOLUTE(__AltInterrupt80) :
  703. (DEFINED(__Interrupt80) ? ABSOLUTE(__Interrupt80) :
  704. ABSOLUTE(__DefaultInterrupt)));
  705. LONG( DEFINED(__AltInterrupt81) ? ABSOLUTE(__AltInterrupt81) :
  706. (DEFINED(__Interrupt81) ? ABSOLUTE(__Interrupt81) :
  707. ABSOLUTE(__DefaultInterrupt)));
  708. LONG( DEFINED(__AltInterrupt82) ? ABSOLUTE(__AltInterrupt82) :
  709. (DEFINED(__Interrupt82) ? ABSOLUTE(__Interrupt82) :
  710. ABSOLUTE(__DefaultInterrupt)));
  711. LONG( DEFINED(__AltInterrupt83) ? ABSOLUTE(__AltInterrupt83) :
  712. (DEFINED(__Interrupt83) ? ABSOLUTE(__Interrupt83) :
  713. ABSOLUTE(__DefaultInterrupt)));
  714. LONG( DEFINED(__AltInterrupt84) ? ABSOLUTE(__AltInterrupt84) :
  715. (DEFINED(__Interrupt84) ? ABSOLUTE(__Interrupt84) :
  716. ABSOLUTE(__DefaultInterrupt)));
  717. LONG( DEFINED(__AltInterrupt85) ? ABSOLUTE(__AltInterrupt85) :
  718. (DEFINED(__Interrupt85) ? ABSOLUTE(__Interrupt85) :
  719. ABSOLUTE(__DefaultInterrupt)));
  720. LONG( DEFINED(__AltUSB1Interrupt) ? ABSOLUTE(__AltUSB1Interrupt) :
  721. (DEFINED(__USB1Interrupt) ? ABSOLUTE(__USB1Interrupt) :
  722. ABSOLUTE(__DefaultInterrupt)));
  723. LONG( DEFINED(__AltInterrupt87) ? ABSOLUTE(__AltInterrupt87) :
  724. (DEFINED(__Interrupt87) ? ABSOLUTE(__Interrupt87) :
  725. ABSOLUTE(__DefaultInterrupt)));
  726. LONG( DEFINED(__AltInterrupt88) ? ABSOLUTE(__AltInterrupt88) :
  727. (DEFINED(__Interrupt88) ? ABSOLUTE(__Interrupt88) :
  728. ABSOLUTE(__DefaultInterrupt)));
  729. LONG( DEFINED(__AltInterrupt89) ? ABSOLUTE(__AltInterrupt89) :
  730. (DEFINED(__Interrupt89) ? ABSOLUTE(__Interrupt89) :
  731. ABSOLUTE(__DefaultInterrupt)));
  732. LONG( DEFINED(__AltInterrupt90) ? ABSOLUTE(__AltInterrupt90) :
  733. (DEFINED(__Interrupt90) ? ABSOLUTE(__Interrupt90) :
  734. ABSOLUTE(__DefaultInterrupt)));
  735. LONG( DEFINED(__AltInterrupt91) ? ABSOLUTE(__AltInterrupt91) :
  736. (DEFINED(__Interrupt91) ? ABSOLUTE(__Interrupt91) :
  737. ABSOLUTE(__DefaultInterrupt)));
  738. LONG( DEFINED(__AltInterrupt92) ? ABSOLUTE(__AltInterrupt92) :
  739. (DEFINED(__Interrupt92) ? ABSOLUTE(__Interrupt92) :
  740. ABSOLUTE(__DefaultInterrupt)));
  741. LONG( DEFINED(__AltInterrupt93) ? ABSOLUTE(__AltInterrupt93) :
  742. (DEFINED(__Interrupt93) ? ABSOLUTE(__Interrupt93) :
  743. ABSOLUTE(__DefaultInterrupt)));
  744. LONG( DEFINED(__AltInterrupt94) ? ABSOLUTE(__AltInterrupt94) :
  745. (DEFINED(__Interrupt94) ? ABSOLUTE(__Interrupt94) :
  746. ABSOLUTE(__DefaultInterrupt)));
  747. LONG( DEFINED(__AltInterrupt95) ? ABSOLUTE(__AltInterrupt95) :
  748. (DEFINED(__Interrupt95) ? ABSOLUTE(__Interrupt95) :
  749. ABSOLUTE(__DefaultInterrupt)));
  750. LONG( DEFINED(__AltInterrupt96) ? ABSOLUTE(__AltInterrupt96) :
  751. (DEFINED(__Interrupt96) ? ABSOLUTE(__Interrupt96) :
  752. ABSOLUTE(__DefaultInterrupt)));
  753. LONG( DEFINED(__AltInterrupt97) ? ABSOLUTE(__AltInterrupt97) :
  754. (DEFINED(__Interrupt97) ? ABSOLUTE(__Interrupt97) :
  755. ABSOLUTE(__DefaultInterrupt)));
  756. LONG( DEFINED(__AltInterrupt98) ? ABSOLUTE(__AltInterrupt98) :
  757. (DEFINED(__Interrupt98) ? ABSOLUTE(__Interrupt98) :
  758. ABSOLUTE(__DefaultInterrupt)));
  759. LONG( DEFINED(__AltInterrupt99) ? ABSOLUTE(__AltInterrupt99) :
  760. (DEFINED(__Interrupt99) ? ABSOLUTE(__Interrupt99) :
  761. ABSOLUTE(__DefaultInterrupt)));
  762. LONG( DEFINED(__AltInterrupt100) ? ABSOLUTE(__AltInterrupt100) :
  763. (DEFINED(__Interrupt100) ? ABSOLUTE(__Interrupt100) :
  764. ABSOLUTE(__DefaultInterrupt)));
  765. LONG( DEFINED(__AltInterrupt101) ? ABSOLUTE(__AltInterrupt101) :
  766. (DEFINED(__Interrupt101) ? ABSOLUTE(__Interrupt101) :
  767. ABSOLUTE(__DefaultInterrupt)));
  768. LONG( DEFINED(__AltInterrupt102) ? ABSOLUTE(__AltInterrupt102) :
  769. (DEFINED(__Interrupt102) ? ABSOLUTE(__Interrupt102) :
  770. ABSOLUTE(__DefaultInterrupt)));
  771. LONG( DEFINED(__AltInterrupt103) ? ABSOLUTE(__AltInterrupt103) :
  772. (DEFINED(__Interrupt103) ? ABSOLUTE(__Interrupt103) :
  773. ABSOLUTE(__DefaultInterrupt)));
  774. LONG( DEFINED(__AltInterrupt104) ? ABSOLUTE(__AltInterrupt104) :
  775. (DEFINED(__Interrupt104) ? ABSOLUTE(__Interrupt104) :
  776. ABSOLUTE(__DefaultInterrupt)));
  777. LONG( DEFINED(__AltInterrupt105) ? ABSOLUTE(__AltInterrupt105) :
  778. (DEFINED(__Interrupt105) ? ABSOLUTE(__Interrupt105) :
  779. ABSOLUTE(__DefaultInterrupt)));
  780. LONG( DEFINED(__AltInterrupt106) ? ABSOLUTE(__AltInterrupt106) :
  781. (DEFINED(__Interrupt106) ? ABSOLUTE(__Interrupt106) :
  782. ABSOLUTE(__DefaultInterrupt)));
  783. LONG( DEFINED(__AltInterrupt107) ? ABSOLUTE(__AltInterrupt107) :
  784. (DEFINED(__Interrupt107) ? ABSOLUTE(__Interrupt107) :
  785. ABSOLUTE(__DefaultInterrupt)));
  786. LONG( DEFINED(__AltInterrupt108) ? ABSOLUTE(__AltInterrupt108) :
  787. (DEFINED(__Interrupt108) ? ABSOLUTE(__Interrupt108) :
  788. ABSOLUTE(__DefaultInterrupt)));
  789. LONG( DEFINED(__AltInterrupt109) ? ABSOLUTE(__AltInterrupt109) :
  790. (DEFINED(__Interrupt109) ? ABSOLUTE(__Interrupt109) :
  791. ABSOLUTE(__DefaultInterrupt)));
  792. LONG( DEFINED(__AltInterrupt110) ? ABSOLUTE(__AltInterrupt110) :
  793. (DEFINED(__Interrupt110) ? ABSOLUTE(__Interrupt110) :
  794. ABSOLUTE(__DefaultInterrupt)));
  795. LONG( DEFINED(__AltInterrupt111) ? ABSOLUTE(__AltInterrupt111) :
  796. (DEFINED(__Interrupt111) ? ABSOLUTE(__Interrupt111) :
  797. ABSOLUTE(__DefaultInterrupt)));
  798. LONG( DEFINED(__AltInterrupt112) ? ABSOLUTE(__AltInterrupt112) :
  799. (DEFINED(__Interrupt112) ? ABSOLUTE(__Interrupt112) :
  800. ABSOLUTE(__DefaultInterrupt)));
  801. LONG( DEFINED(__AltInterrupt113) ? ABSOLUTE(__AltInterrupt113) :
  802. (DEFINED(__Interrupt113) ? ABSOLUTE(__Interrupt113) :
  803. ABSOLUTE(__DefaultInterrupt)));
  804. LONG( DEFINED(__AltInterrupt114) ? ABSOLUTE(__AltInterrupt114) :
  805. (DEFINED(__Interrupt114) ? ABSOLUTE(__Interrupt114) :
  806. ABSOLUTE(__DefaultInterrupt)));
  807. LONG( DEFINED(__AltInterrupt115) ? ABSOLUTE(__AltInterrupt115) :
  808. (DEFINED(__Interrupt115) ? ABSOLUTE(__Interrupt115) :
  809. ABSOLUTE(__DefaultInterrupt)));
  810. LONG( DEFINED(__AltInterrupt116) ? ABSOLUTE(__AltInterrupt116) :
  811. (DEFINED(__Interrupt116) ? ABSOLUTE(__Interrupt116) :
  812. ABSOLUTE(__DefaultInterrupt)));
  813. LONG( DEFINED(__AltInterrupt117) ? ABSOLUTE(__AltInterrupt117) :
  814. (DEFINED(__Interrupt117) ? ABSOLUTE(__Interrupt117) :
  815. ABSOLUTE(__DefaultInterrupt)));
  816. } >aivt
  817. } /* SECTIONS */
  818. /*
  819. ** ============== Equates for SFR Addresses =============
  820. */
  821. WREG0 = 0x0;
  822. _WREG0 = 0x0;
  823. WREG1 = 0x2;
  824. _WREG1 = 0x2;
  825. WREG2 = 0x4;
  826. _WREG2 = 0x4;
  827. WREG3 = 0x6;
  828. _WREG3 = 0x6;
  829. WREG4 = 0x8;
  830. _WREG4 = 0x8;
  831. WREG5 = 0xA;
  832. _WREG5 = 0xA;
  833. WREG6 = 0xC;
  834. _WREG6 = 0xC;
  835. WREG7 = 0xE;
  836. _WREG7 = 0xE;
  837. WREG8 = 0x10;
  838. _WREG8 = 0x10;
  839. WREG9 = 0x12;
  840. _WREG9 = 0x12;
  841. WREG10 = 0x14;
  842. _WREG10 = 0x14;
  843. WREG11 = 0x16;
  844. _WREG11 = 0x16;
  845. WREG12 = 0x18;
  846. _WREG12 = 0x18;
  847. WREG13 = 0x1A;
  848. _WREG13 = 0x1A;
  849. WREG14 = 0x1C;
  850. _WREG14 = 0x1C;
  851. WREG15 = 0x1E;
  852. _WREG15 = 0x1E;
  853. SPLIM = 0x20;
  854. _SPLIM = 0x20;
  855. PCL = 0x2E;
  856. _PCL = 0x2E;
  857. PCH = 0x30;
  858. _PCH = 0x30;
  859. TBLPAG = 0x32;
  860. _TBLPAG = 0x32;
  861. PSVPAG = 0x34;
  862. _PSVPAG = 0x34;
  863. RCOUNT = 0x36;
  864. _RCOUNT = 0x36;
  865. SR = 0x42;
  866. _SR = 0x42;
  867. _SRbits = 0x42;
  868. CORCON = 0x44;
  869. _CORCON = 0x44;
  870. _CORCONbits = 0x44;
  871. DISICNT = 0x52;
  872. _DISICNT = 0x52;
  873. CNEN1 = 0x60;
  874. _CNEN1 = 0x60;
  875. _CNEN1bits = 0x60;
  876. CNEN2 = 0x62;
  877. _CNEN2 = 0x62;
  878. _CNEN2bits = 0x62;
  879. CNPU1 = 0x68;
  880. _CNPU1 = 0x68;
  881. _CNPU1bits = 0x68;
  882. CNPU2 = 0x6A;
  883. _CNPU2 = 0x6A;
  884. _CNPU2bits = 0x6A;
  885. INTCON1 = 0x80;
  886. _INTCON1 = 0x80;
  887. _INTCON1bits = 0x80;
  888. INTCON2 = 0x82;
  889. _INTCON2 = 0x82;
  890. _INTCON2bits = 0x82;
  891. IFS0 = 0x84;
  892. _IFS0 = 0x84;
  893. _IFS0bits = 0x84;
  894. IFS1 = 0x86;
  895. _IFS1 = 0x86;
  896. _IFS1bits = 0x86;
  897. IFS2 = 0x88;
  898. _IFS2 = 0x88;
  899. _IFS2bits = 0x88;
  900. IFS3 = 0x8A;
  901. _IFS3 = 0x8A;
  902. _IFS3bits = 0x8A;
  903. IFS4 = 0x8C;
  904. _IFS4 = 0x8C;
  905. _IFS4bits = 0x8C;
  906. IFS5 = 0x8E;
  907. _IFS5 = 0x8E;
  908. _IFS5bits = 0x8E;
  909. IEC0 = 0x94;
  910. _IEC0 = 0x94;
  911. _IEC0bits = 0x94;
  912. IEC1 = 0x96;
  913. _IEC1 = 0x96;
  914. _IEC1bits = 0x96;
  915. IEC2 = 0x98;
  916. _IEC2 = 0x98;
  917. _IEC2bits = 0x98;
  918. IEC3 = 0x9A;
  919. _IEC3 = 0x9A;
  920. _IEC3bits = 0x9A;
  921. IEC4 = 0x9C;
  922. _IEC4 = 0x9C;
  923. _IEC4bits = 0x9C;
  924. IEC5 = 0x9E;
  925. _IEC5 = 0x9E;
  926. _IEC5bits = 0x9E;
  927. IPC0 = 0xA4;
  928. _IPC0 = 0xA4;
  929. _IPC0bits = 0xA4;
  930. IPC1 = 0xA6;
  931. _IPC1 = 0xA6;
  932. _IPC1bits = 0xA6;
  933. IPC2 = 0xA8;
  934. _IPC2 = 0xA8;
  935. _IPC2bits = 0xA8;
  936. IPC3 = 0xAA;
  937. _IPC3 = 0xAA;
  938. _IPC3bits = 0xAA;
  939. IPC4 = 0xAC;
  940. _IPC4 = 0xAC;
  941. _IPC4bits = 0xAC;
  942. IPC5 = 0xAE;
  943. _IPC5 = 0xAE;
  944. _IPC5bits = 0xAE;
  945. IPC6 = 0xB0;
  946. _IPC6 = 0xB0;
  947. _IPC6bits = 0xB0;
  948. IPC7 = 0xB2;
  949. _IPC7 = 0xB2;
  950. _IPC7bits = 0xB2;
  951. IPC8 = 0xB4;
  952. _IPC8 = 0xB4;
  953. _IPC8bits = 0xB4;
  954. IPC9 = 0xB6;
  955. _IPC9 = 0xB6;
  956. _IPC9bits = 0xB6;
  957. IPC10 = 0xB8;
  958. _IPC10 = 0xB8;
  959. _IPC10bits = 0xB8;
  960. IPC11 = 0xBA;
  961. _IPC11 = 0xBA;
  962. _IPC11bits = 0xBA;
  963. IPC12 = 0xBC;
  964. _IPC12 = 0xBC;
  965. _IPC12bits = 0xBC;
  966. IPC15 = 0xC2;
  967. _IPC15 = 0xC2;
  968. _IPC15bits = 0xC2;
  969. IPC16 = 0xC4;
  970. _IPC16 = 0xC4;
  971. _IPC16bits = 0xC4;
  972. IPC18 = 0xC8;
  973. _IPC18 = 0xC8;
  974. _IPC18bits = 0xC8;
  975. IPC19 = 0xCA;
  976. _IPC19 = 0xCA;
  977. _IPC19bits = 0xCA;
  978. IPC21 = 0xCE;
  979. _IPC21 = 0xCE;
  980. _IPC21bits = 0xCE;
  981. INTTREG = 0xE0;
  982. _INTTREG = 0xE0;
  983. _INTTREGbits = 0xE0;
  984. TMR1 = 0x100;
  985. _TMR1 = 0x100;
  986. PR1 = 0x102;
  987. _PR1 = 0x102;
  988. T1CON = 0x104;
  989. _T1CON = 0x104;
  990. _T1CONbits = 0x104;
  991. TMR2 = 0x106;
  992. _TMR2 = 0x106;
  993. TMR3HLD = 0x108;
  994. _TMR3HLD = 0x108;
  995. TMR3 = 0x10A;
  996. _TMR3 = 0x10A;
  997. PR2 = 0x10C;
  998. _PR2 = 0x10C;
  999. PR3 = 0x10E;
  1000. _PR3 = 0x10E;
  1001. T2CON = 0x110;
  1002. _T2CON = 0x110;
  1003. _T2CONbits = 0x110;
  1004. T3CON = 0x112;
  1005. _T3CON = 0x112;
  1006. _T3CONbits = 0x112;
  1007. TMR4 = 0x114;
  1008. _TMR4 = 0x114;
  1009. TMR5HLD = 0x116;
  1010. _TMR5HLD = 0x116;
  1011. TMR5 = 0x118;
  1012. _TMR5 = 0x118;
  1013. PR4 = 0x11A;
  1014. _PR4 = 0x11A;
  1015. PR5 = 0x11C;
  1016. _PR5 = 0x11C;
  1017. T4CON = 0x11E;
  1018. _T4CON = 0x11E;
  1019. _T4CONbits = 0x11E;
  1020. T5CON = 0x120;
  1021. _T5CON = 0x120;
  1022. _T5CONbits = 0x120;
  1023. IC1CON1 = 0x140;
  1024. _IC1CON1 = 0x140;
  1025. _IC1CON1bits = 0x140;
  1026. IC1CON2 = 0x142;
  1027. _IC1CON2 = 0x142;
  1028. _IC1CON2bits = 0x142;
  1029. IC1BUF = 0x144;
  1030. _IC1BUF = 0x144;
  1031. IC1TMR = 0x146;
  1032. _IC1TMR = 0x146;
  1033. IC2CON1 = 0x148;
  1034. _IC2CON1 = 0x148;
  1035. _IC2CON1bits = 0x148;
  1036. IC2CON2 = 0x14A;
  1037. _IC2CON2 = 0x14A;
  1038. _IC2CON2bits = 0x14A;
  1039. IC2BUF = 0x14C;
  1040. _IC2BUF = 0x14C;
  1041. IC2TMR = 0x14E;
  1042. _IC2TMR = 0x14E;
  1043. IC3CON1 = 0x150;
  1044. _IC3CON1 = 0x150;
  1045. _IC3CON1bits = 0x150;
  1046. IC3CON2 = 0x152;
  1047. _IC3CON2 = 0x152;
  1048. _IC3CON2bits = 0x152;
  1049. IC3BUF = 0x154;
  1050. _IC3BUF = 0x154;
  1051. IC3TMR = 0x156;
  1052. _IC3TMR = 0x156;
  1053. IC4CON1 = 0x158;
  1054. _IC4CON1 = 0x158;
  1055. _IC4CON1bits = 0x158;
  1056. IC4CON2 = 0x15A;
  1057. _IC4CON2 = 0x15A;
  1058. _IC4CON2bits = 0x15A;
  1059. IC4BUF = 0x15C;
  1060. _IC4BUF = 0x15C;
  1061. IC4TMR = 0x15E;
  1062. _IC4TMR = 0x15E;
  1063. IC5CON1 = 0x160;
  1064. _IC5CON1 = 0x160;
  1065. _IC5CON1bits = 0x160;
  1066. IC5CON2 = 0x162;
  1067. _IC5CON2 = 0x162;
  1068. _IC5CON2bits = 0x162;
  1069. IC5BUF = 0x164;
  1070. _IC5BUF = 0x164;
  1071. IC5TMR = 0x166;
  1072. _IC5TMR = 0x166;
  1073. OC1CON1 = 0x190;
  1074. _OC1CON1 = 0x190;
  1075. _OC1CON1bits = 0x190;
  1076. OC1CON2 = 0x192;
  1077. _OC1CON2 = 0x192;
  1078. _OC1CON2bits = 0x192;
  1079. OC1RS = 0x194;
  1080. _OC1RS = 0x194;
  1081. OC1R = 0x196;
  1082. _OC1R = 0x196;
  1083. OC1TMR = 0x198;
  1084. _OC1TMR = 0x198;
  1085. OC2CON1 = 0x19A;
  1086. _OC2CON1 = 0x19A;
  1087. _OC2CON1bits = 0x19A;
  1088. OC2CON2 = 0x19C;
  1089. _OC2CON2 = 0x19C;
  1090. _OC2CON2bits = 0x19C;
  1091. OC2RS = 0x19E;
  1092. _OC2RS = 0x19E;
  1093. OC2R = 0x1A0;
  1094. _OC2R = 0x1A0;
  1095. OC2TMR = 0x1A2;
  1096. _OC2TMR = 0x1A2;
  1097. OC3CON1 = 0x1A4;
  1098. _OC3CON1 = 0x1A4;
  1099. _OC3CON1bits = 0x1A4;
  1100. OC3CON2 = 0x1A6;
  1101. _OC3CON2 = 0x1A6;
  1102. _OC3CON2bits = 0x1A6;
  1103. OC3RS = 0x1A8;
  1104. _OC3RS = 0x1A8;
  1105. OC3R = 0x1AA;
  1106. _OC3R = 0x1AA;
  1107. OC3TMR = 0x1AC;
  1108. _OC3TMR = 0x1AC;
  1109. OC4CON1 = 0x1AE;
  1110. _OC4CON1 = 0x1AE;
  1111. _OC4CON1bits = 0x1AE;
  1112. OC4CON2 = 0x1B0;
  1113. _OC4CON2 = 0x1B0;
  1114. _OC4CON2bits = 0x1B0;
  1115. OC4RS = 0x1B2;
  1116. _OC4RS = 0x1B2;
  1117. OC4R = 0x1B4;
  1118. _OC4R = 0x1B4;
  1119. OC4TMR = 0x1B6;
  1120. _OC4TMR = 0x1B6;
  1121. OC5CON1 = 0x1B8;
  1122. _OC5CON1 = 0x1B8;
  1123. _OC5CON1bits = 0x1B8;
  1124. OC5CON2 = 0x1BA;
  1125. _OC5CON2 = 0x1BA;
  1126. _OC5CON2bits = 0x1BA;
  1127. OC5RS = 0x1BC;
  1128. _OC5RS = 0x1BC;
  1129. OC5R = 0x1BE;
  1130. _OC5R = 0x1BE;
  1131. OC5TMR = 0x1C0;
  1132. _OC5TMR = 0x1C0;
  1133. I2C1RCV = 0x200;
  1134. _I2C1RCV = 0x200;
  1135. I2C1TRN = 0x202;
  1136. _I2C1TRN = 0x202;
  1137. I2C1BRG = 0x204;
  1138. _I2C1BRG = 0x204;
  1139. I2C1CON = 0x206;
  1140. _I2C1CON = 0x206;
  1141. _I2C1CONbits = 0x206;
  1142. I2C1STAT = 0x208;
  1143. _I2C1STAT = 0x208;
  1144. _I2C1STATbits = 0x208;
  1145. I2C1ADD = 0x20A;
  1146. _I2C1ADD = 0x20A;
  1147. I2C1MSK = 0x20C;
  1148. _I2C1MSK = 0x20C;
  1149. I2C2RCV = 0x210;
  1150. _I2C2RCV = 0x210;
  1151. I2C2TRN = 0x212;
  1152. _I2C2TRN = 0x212;
  1153. I2C2BRG = 0x214;
  1154. _I2C2BRG = 0x214;
  1155. I2C2CON = 0x216;
  1156. _I2C2CON = 0x216;
  1157. _I2C2CONbits = 0x216;
  1158. I2C2STAT = 0x218;
  1159. _I2C2STAT = 0x218;
  1160. _I2C2STATbits = 0x218;
  1161. I2C2ADD = 0x21A;
  1162. _I2C2ADD = 0x21A;
  1163. I2C2MSK = 0x21C;
  1164. _I2C2MSK = 0x21C;
  1165. U1MODE = 0x220;
  1166. _U1MODE = 0x220;
  1167. _U1MODEbits = 0x220;
  1168. U1STA = 0x222;
  1169. _U1STA = 0x222;
  1170. _U1STAbits = 0x222;
  1171. U1TXREG = 0x224;
  1172. _U1TXREG = 0x224;
  1173. _U1TXREGbits = 0x224;
  1174. U1RXREG = 0x226;
  1175. _U1RXREG = 0x226;
  1176. _U1RXREGbits = 0x226;
  1177. U1BRG = 0x228;
  1178. _U1BRG = 0x228;
  1179. U2MODE = 0x230;
  1180. _U2MODE = 0x230;
  1181. _U2MODEbits = 0x230;
  1182. U2STA = 0x232;
  1183. _U2STA = 0x232;
  1184. _U2STAbits = 0x232;
  1185. U2TXREG = 0x234;
  1186. _U2TXREG = 0x234;
  1187. _U2TXREGbits = 0x234;
  1188. U2RXREG = 0x236;
  1189. _U2RXREG = 0x236;
  1190. _U2RXREGbits = 0x236;
  1191. U2BRG = 0x238;
  1192. _U2BRG = 0x238;
  1193. SPI1STAT = 0x240;
  1194. _SPI1STAT = 0x240;
  1195. _SPI1STATbits = 0x240;
  1196. SPI1CON1 = 0x242;
  1197. _SPI1CON1 = 0x242;
  1198. _SPI1CON1bits = 0x242;
  1199. SPI1CON2 = 0x244;
  1200. _SPI1CON2 = 0x244;
  1201. _SPI1CON2bits = 0x244;
  1202. SPI1BUF = 0x248;
  1203. _SPI1BUF = 0x248;
  1204. SPI2STAT = 0x260;
  1205. _SPI2STAT = 0x260;
  1206. _SPI2STATbits = 0x260;
  1207. SPI2CON1 = 0x262;
  1208. _SPI2CON1 = 0x262;
  1209. _SPI2CON1bits = 0x262;
  1210. SPI2CON2 = 0x264;
  1211. _SPI2CON2 = 0x264;
  1212. _SPI2CON2bits = 0x264;
  1213. SPI2BUF = 0x268;
  1214. _SPI2BUF = 0x268;
  1215. TRISA = 0x2C0;
  1216. _TRISA = 0x2C0;
  1217. _TRISAbits = 0x2C0;
  1218. PORTA = 0x2C2;
  1219. _PORTA = 0x2C2;
  1220. _PORTAbits = 0x2C2;
  1221. LATA = 0x2C4;
  1222. _LATA = 0x2C4;
  1223. _LATAbits = 0x2C4;
  1224. ODCA = 0x2C6;
  1225. _ODCA = 0x2C6;
  1226. _ODCAbits = 0x2C6;
  1227. TRISB = 0x2C8;
  1228. _TRISB = 0x2C8;
  1229. _TRISBbits = 0x2C8;
  1230. PORTB = 0x2CA;
  1231. _PORTB = 0x2CA;
  1232. _PORTBbits = 0x2CA;
  1233. LATB = 0x2CC;
  1234. _LATB = 0x2CC;
  1235. _LATBbits = 0x2CC;
  1236. ODCB = 0x2CE;
  1237. _ODCB = 0x2CE;
  1238. _ODCBbits = 0x2CE;
  1239. PADCFG1 = 0x2FC;
  1240. _PADCFG1 = 0x2FC;
  1241. _PADCFG1bits = 0x2FC;
  1242. ADC1BUF0 = 0x300;
  1243. _ADC1BUF0 = 0x300;
  1244. ADC1BUF1 = 0x302;
  1245. _ADC1BUF1 = 0x302;
  1246. ADC1BUF2 = 0x304;
  1247. _ADC1BUF2 = 0x304;
  1248. ADC1BUF3 = 0x306;
  1249. _ADC1BUF3 = 0x306;
  1250. ADC1BUF4 = 0x308;
  1251. _ADC1BUF4 = 0x308;
  1252. ADC1BUF5 = 0x30A;
  1253. _ADC1BUF5 = 0x30A;
  1254. ADC1BUF6 = 0x30C;
  1255. _ADC1BUF6 = 0x30C;
  1256. ADC1BUF7 = 0x30E;
  1257. _ADC1BUF7 = 0x30E;
  1258. ADC1BUF8 = 0x310;
  1259. _ADC1BUF8 = 0x310;
  1260. ADC1BUF9 = 0x312;
  1261. _ADC1BUF9 = 0x312;
  1262. ADC1BUFA = 0x314;
  1263. _ADC1BUFA = 0x314;
  1264. ADC1BUFB = 0x316;
  1265. _ADC1BUFB = 0x316;
  1266. ADC1BUFC = 0x318;
  1267. _ADC1BUFC = 0x318;
  1268. ADC1BUFD = 0x31A;
  1269. _ADC1BUFD = 0x31A;
  1270. ADC1BUFE = 0x31C;
  1271. _ADC1BUFE = 0x31C;
  1272. ADC1BUFF = 0x31E;
  1273. _ADC1BUFF = 0x31E;
  1274. AD1CON1 = 0x320;
  1275. _AD1CON1 = 0x320;
  1276. _AD1CON1bits = 0x320;
  1277. AD1CON2 = 0x322;
  1278. _AD1CON2 = 0x322;
  1279. _AD1CON2bits = 0x322;
  1280. AD1CON3 = 0x324;
  1281. _AD1CON3 = 0x324;
  1282. _AD1CON3bits = 0x324;
  1283. AD1CHS = 0x328;
  1284. _AD1CHS = 0x328;
  1285. _AD1CHSbits = 0x328;
  1286. AD1CHS0 = 0x328;
  1287. _AD1CHS0 = 0x328;
  1288. _AD1CHS0bits = 0x328;
  1289. AD1PCFG = 0x32C;
  1290. _AD1PCFG = 0x32C;
  1291. _AD1PCFGbits = 0x32C;
  1292. AD1PCFGL = 0x32C;
  1293. _AD1PCFGL = 0x32C;
  1294. _AD1PCFGLbits = 0x32C;
  1295. AD1CSSL = 0x330;
  1296. _AD1CSSL = 0x330;
  1297. _AD1CSSLbits = 0x330;
  1298. CTMUCON = 0x33C;
  1299. _CTMUCON = 0x33C;
  1300. _CTMUCONbits = 0x33C;
  1301. CTMUICON = 0x33E;
  1302. _CTMUICON = 0x33E;
  1303. _CTMUICONbits = 0x33E;
  1304. U1OTGIR = 0x480;
  1305. _U1OTGIR = 0x480;
  1306. _U1OTGIRbits = 0x480;
  1307. U1OTGIE = 0x482;
  1308. _U1OTGIE = 0x482;
  1309. _U1OTGIEbits = 0x482;
  1310. U1OTGSTAT = 0x484;
  1311. _U1OTGSTAT = 0x484;
  1312. _U1OTGSTATbits = 0x484;
  1313. U1OTGCON = 0x486;
  1314. _U1OTGCON = 0x486;
  1315. _U1OTGCONbits = 0x486;
  1316. U1PWRC = 0x488;
  1317. _U1PWRC = 0x488;
  1318. _U1PWRCbits = 0x488;
  1319. U1IR = 0x48A;
  1320. _U1IR = 0x48A;
  1321. _U1IRbits = 0x48A;
  1322. U1IE = 0x48C;
  1323. _U1IE = 0x48C;
  1324. _U1IEbits = 0x48C;
  1325. U1EIR = 0x48E;
  1326. _U1EIR = 0x48E;
  1327. _U1EIRbits = 0x48E;
  1328. U1EIE = 0x490;
  1329. _U1EIE = 0x490;
  1330. _U1EIEbits = 0x490;
  1331. U1STAT = 0x492;
  1332. _U1STAT = 0x492;
  1333. _U1STATbits = 0x492;
  1334. U1CON = 0x494;
  1335. _U1CON = 0x494;
  1336. _U1CONbits = 0x494;
  1337. U1ADDR = 0x496;
  1338. _U1ADDR = 0x496;
  1339. _U1ADDRbits = 0x496;
  1340. U1BDTP1 = 0x498;
  1341. _U1BDTP1 = 0x498;
  1342. _U1BDTP1bits = 0x498;
  1343. U1FRML = 0x49A;
  1344. _U1FRML = 0x49A;
  1345. _U1FRMLbits = 0x49A;
  1346. U1FRMH = 0x49C;
  1347. _U1FRMH = 0x49C;
  1348. _U1FRMHbits = 0x49C;
  1349. U1TOK = 0x49E;
  1350. _U1TOK = 0x49E;
  1351. _U1TOKbits = 0x49E;
  1352. U1SOF = 0x4A0;
  1353. _U1SOF = 0x4A0;
  1354. _U1SOFbits = 0x4A0;
  1355. U1CNFG1 = 0x4A6;
  1356. _U1CNFG1 = 0x4A6;
  1357. _U1CNFG1bits = 0x4A6;
  1358. U1CNFG2 = 0x4A8;
  1359. _U1CNFG2 = 0x4A8;
  1360. _U1CNFG2bits = 0x4A8;
  1361. U1EP0 = 0x4AA;
  1362. _U1EP0 = 0x4AA;
  1363. _U1EP0bits = 0x4AA;
  1364. U1EP1 = 0x4AC;
  1365. _U1EP1 = 0x4AC;
  1366. _U1EP1bits = 0x4AC;
  1367. U1EP2 = 0x4AE;
  1368. _U1EP2 = 0x4AE;
  1369. _U1EP2bits = 0x4AE;
  1370. U1EP3 = 0x4B0;
  1371. _U1EP3 = 0x4B0;
  1372. _U1EP3bits = 0x4B0;
  1373. U1EP4 = 0x4B2;
  1374. _U1EP4 = 0x4B2;
  1375. _U1EP4bits = 0x4B2;
  1376. U1EP5 = 0x4B4;
  1377. _U1EP5 = 0x4B4;
  1378. _U1EP5bits = 0x4B4;
  1379. U1EP6 = 0x4B6;
  1380. _U1EP6 = 0x4B6;
  1381. _U1EP6bits = 0x4B6;
  1382. U1EP7 = 0x4B8;
  1383. _U1EP7 = 0x4B8;
  1384. _U1EP7bits = 0x4B8;
  1385. U1EP8 = 0x4BA;
  1386. _U1EP8 = 0x4BA;
  1387. _U1EP8bits = 0x4BA;
  1388. U1EP9 = 0x4BC;
  1389. _U1EP9 = 0x4BC;
  1390. _U1EP9bits = 0x4BC;
  1391. U1EP10 = 0x4BE;
  1392. _U1EP10 = 0x4BE;
  1393. _U1EP10bits = 0x4BE;
  1394. U1EP11 = 0x4C0;
  1395. _U1EP11 = 0x4C0;
  1396. _U1EP11bits = 0x4C0;
  1397. U1EP12 = 0x4C2;
  1398. _U1EP12 = 0x4C2;
  1399. _U1EP12bits = 0x4C2;
  1400. U1EP13 = 0x4C4;
  1401. _U1EP13 = 0x4C4;
  1402. _U1EP13bits = 0x4C4;
  1403. U1EP14 = 0x4C6;
  1404. _U1EP14 = 0x4C6;
  1405. _U1EP14bits = 0x4C6;
  1406. U1EP15 = 0x4C8;
  1407. _U1EP15 = 0x4C8;
  1408. _U1EP15bits = 0x4C8;
  1409. U1PWMRRS = 0x4CC;
  1410. _U1PWMRRS = 0x4CC;
  1411. _U1PWMRRSbits = 0x4CC;
  1412. U1PWMCON = 0x4CE;
  1413. _U1PWMCON = 0x4CE;
  1414. _U1PWMCONbits = 0x4CE;
  1415. PMCON = 0x600;
  1416. _PMCON = 0x600;
  1417. _PMCONbits = 0x600;
  1418. PMMODE = 0x602;
  1419. _PMMODE = 0x602;
  1420. _PMMODEbits = 0x602;
  1421. PMADDR = 0x604;
  1422. _PMADDR = 0x604;
  1423. _PMADDRbits = 0x604;
  1424. PMDOUT1 = 0x604;
  1425. _PMDOUT1 = 0x604;
  1426. _PMDOUT1bits = 0x604;
  1427. PMDOUT2 = 0x606;
  1428. _PMDOUT2 = 0x606;
  1429. PMDIN1 = 0x608;
  1430. _PMDIN1 = 0x608;
  1431. PMDIN2 = 0x60A;
  1432. _PMDIN2 = 0x60A;
  1433. PMAEN = 0x60C;
  1434. _PMAEN = 0x60C;
  1435. _PMAENbits = 0x60C;
  1436. PMSTAT = 0x60E;
  1437. _PMSTAT = 0x60E;
  1438. _PMSTATbits = 0x60E;
  1439. ALRMVAL = 0x620;
  1440. _ALRMVAL = 0x620;
  1441. ALCFGRPT = 0x622;
  1442. _ALCFGRPT = 0x622;
  1443. _ALCFGRPTbits = 0x622;
  1444. RTCVAL = 0x624;
  1445. _RTCVAL = 0x624;
  1446. RCFGCAL = 0x626;
  1447. _RCFGCAL = 0x626;
  1448. _RCFGCALbits = 0x626;
  1449. CRCCON = 0x640;
  1450. _CRCCON = 0x640;
  1451. _CRCCONbits = 0x640;
  1452. CRCCON1 = 0x640;
  1453. _CRCCON1 = 0x640;
  1454. _CRCCON1bits = 0x640;
  1455. CRCCON2 = 0x642;
  1456. _CRCCON2 = 0x642;
  1457. _CRCCON2bits = 0x642;
  1458. CRCXOR = 0x644;
  1459. _CRCXOR = 0x644;
  1460. _CRCXORbits = 0x644;
  1461. CRCXORL = 0x644;
  1462. _CRCXORL = 0x644;
  1463. _CRCXORLbits = 0x644;
  1464. CRCXORH = 0x646;
  1465. _CRCXORH = 0x646;
  1466. _CRCXORHbits = 0x646;
  1467. CRCDAT = 0x648;
  1468. _CRCDAT = 0x648;
  1469. CRCDATL = 0x648;
  1470. _CRCDATL = 0x648;
  1471. CRCDATH = 0x64A;
  1472. _CRCDATH = 0x64A;
  1473. CRCWDAT = 0x64C;
  1474. _CRCWDAT = 0x64C;
  1475. CRCWDATL = 0x64C;
  1476. _CRCWDATL = 0x64C;
  1477. CRCWDATH = 0x64E;
  1478. _CRCWDATH = 0x64E;
  1479. CMSTAT = 0x650;
  1480. _CMSTAT = 0x650;
  1481. _CMSTATbits = 0x650;
  1482. CVRCON = 0x652;
  1483. _CVRCON = 0x652;
  1484. _CVRCONbits = 0x652;
  1485. CM1CON = 0x654;
  1486. _CM1CON = 0x654;
  1487. _CM1CONbits = 0x654;
  1488. CM2CON = 0x65C;
  1489. _CM2CON = 0x65C;
  1490. _CM2CONbits = 0x65C;
  1491. CM3CON = 0x664;
  1492. _CM3CON = 0x664;
  1493. _CM3CONbits = 0x664;
  1494. RPINR0 = 0x680;
  1495. _RPINR0 = 0x680;
  1496. _RPINR0bits = 0x680;
  1497. RPINR1 = 0x682;
  1498. _RPINR1 = 0x682;
  1499. _RPINR1bits = 0x682;
  1500. RPINR3 = 0x686;
  1501. _RPINR3 = 0x686;
  1502. _RPINR3bits = 0x686;
  1503. RPINR4 = 0x688;
  1504. _RPINR4 = 0x688;
  1505. _RPINR4bits = 0x688;
  1506. RPINR7 = 0x68E;
  1507. _RPINR7 = 0x68E;
  1508. _RPINR7bits = 0x68E;
  1509. RPINR8 = 0x690;
  1510. _RPINR8 = 0x690;
  1511. _RPINR8bits = 0x690;
  1512. RPINR9 = 0x692;
  1513. _RPINR9 = 0x692;
  1514. _RPINR9bits = 0x692;
  1515. RPINR11 = 0x696;
  1516. _RPINR11 = 0x696;
  1517. _RPINR11bits = 0x696;
  1518. RPINR18 = 0x6A4;
  1519. _RPINR18 = 0x6A4;
  1520. _RPINR18bits = 0x6A4;
  1521. RPINR19 = 0x6A6;
  1522. _RPINR19 = 0x6A6;
  1523. _RPINR19bits = 0x6A6;
  1524. RPINR20 = 0x6A8;
  1525. _RPINR20 = 0x6A8;
  1526. _RPINR20bits = 0x6A8;
  1527. RPINR21 = 0x6AA;
  1528. _RPINR21 = 0x6AA;
  1529. _RPINR21bits = 0x6AA;
  1530. RPINR22 = 0x6AC;
  1531. _RPINR22 = 0x6AC;
  1532. _RPINR22bits = 0x6AC;
  1533. RPINR23 = 0x6AE;
  1534. _RPINR23 = 0x6AE;
  1535. _RPINR23bits = 0x6AE;
  1536. RPOR0 = 0x6C0;
  1537. _RPOR0 = 0x6C0;
  1538. _RPOR0bits = 0x6C0;
  1539. RPOR1 = 0x6C2;
  1540. _RPOR1 = 0x6C2;
  1541. _RPOR1bits = 0x6C2;
  1542. RPOR2 = 0x6C4;
  1543. _RPOR2 = 0x6C4;
  1544. _RPOR2bits = 0x6C4;
  1545. RPOR3 = 0x6C6;
  1546. _RPOR3 = 0x6C6;
  1547. _RPOR3bits = 0x6C6;
  1548. RPOR4 = 0x6C8;
  1549. _RPOR4 = 0x6C8;
  1550. _RPOR4bits = 0x6C8;
  1551. RPOR5 = 0x6CA;
  1552. _RPOR5 = 0x6CA;
  1553. _RPOR5bits = 0x6CA;
  1554. RPOR6 = 0x6CC;
  1555. _RPOR6 = 0x6CC;
  1556. _RPOR6bits = 0x6CC;
  1557. RPOR7 = 0x6CE;
  1558. _RPOR7 = 0x6CE;
  1559. _RPOR7bits = 0x6CE;
  1560. RCON = 0x740;
  1561. _RCON = 0x740;
  1562. _RCONbits = 0x740;
  1563. OSCCON = 0x742;
  1564. _OSCCON = 0x742;
  1565. _OSCCONbits = 0x742;
  1566. OSCCONL = 0x742;
  1567. _OSCCONL = 0x742;
  1568. OSCCONH = 0x743;
  1569. _OSCCONH = 0x743;
  1570. CLKDIV = 0x744;
  1571. _CLKDIV = 0x744;
  1572. _CLKDIVbits = 0x744;
  1573. OSCTUN = 0x748;
  1574. _OSCTUN = 0x748;
  1575. _OSCTUNbits = 0x748;
  1576. REFOCON = 0x74E;
  1577. _REFOCON = 0x74E;
  1578. _REFOCONbits = 0x74E;
  1579. DSCON = 0x758;
  1580. _DSCON = 0x758;
  1581. _DSCONbits = 0x758;
  1582. DSWAKE = 0x75A;
  1583. _DSWAKE = 0x75A;
  1584. _DSWAKEbits = 0x75A;
  1585. DSGPR0 = 0x75C;
  1586. _DSGPR0 = 0x75C;
  1587. _DSGPR0bits = 0x75C;
  1588. DSGPR1 = 0x75E;
  1589. _DSGPR1 = 0x75E;
  1590. _DSGPR1bits = 0x75E;
  1591. NVMCON = 0x760;
  1592. _NVMCON = 0x760;
  1593. _NVMCONbits = 0x760;
  1594. NVMKEY = 0x766;
  1595. _NVMKEY = 0x766;
  1596. PMD1 = 0x770;
  1597. _PMD1 = 0x770;
  1598. _PMD1bits = 0x770;
  1599. PMD2 = 0x772;
  1600. _PMD2 = 0x772;
  1601. _PMD2bits = 0x772;
  1602. PMD3 = 0x774;
  1603. _PMD3 = 0x774;
  1604. _PMD3bits = 0x774;
  1605. PMD4 = 0x776;
  1606. _PMD4 = 0x776;
  1607. _PMD4bits = 0x776;
  1608. /*
  1609. ** ======= Base Addresses for Various Peripherals ======
  1610. */
  1611. IC1 = 0x144;
  1612. _IC1 = 0x144;
  1613. IC2 = 0x14C;
  1614. _IC2 = 0x14C;
  1615. IC3 = 0x154;
  1616. _IC3 = 0x154;
  1617. IC4 = 0x15C;
  1618. _IC4 = 0x15C;
  1619. IC5 = 0x164;
  1620. _IC5 = 0x164;
  1621. OC1 = 0x194;
  1622. _OC1 = 0x194;
  1623. OC2 = 0x19E;
  1624. _OC2 = 0x19E;
  1625. OC3 = 0x1A8;
  1626. _OC3 = 0x1A8;
  1627. OC4 = 0x1B2;
  1628. _OC4 = 0x1B2;
  1629. OC5 = 0x1BC;
  1630. _OC5 = 0x1BC;
  1631. SPI1 = 0x240;
  1632. _SPI1 = 0x240;
  1633. SPI2 = 0x260;
  1634. _SPI2 = 0x260;
  1635. UART1 = 0x220;
  1636. _UART1 = 0x220;
  1637. UART2 = 0x230;
  1638. _UART2 = 0x230;