buckoka

Delay

Jul 20th, 2018
240
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gpasm-1.5.2 #1312 (Oct 2 2017) delay.asm 7-21-2018 15:09:22 PAGE 1
  2.  
  3.  
  4. LOC OBJECT CODE LINE SOURCE TEXT
  5. VALUE
  6.  
  7. 00001 #include <p12F609.INC>
  8. 00001 LIST
  9. 00002
  10. 00003 ;==========================================================================
  11. 00004 ; Build date : Oct 21 2015
  12. 00005 ; MPASM PIC12F609 processor include
  13. 00006 ;
  14. 00007 ; (c) Copyright 1999-2015 Microchip Technology, All rights reserved
  15. 00008 ;==========================================================================
  16. 00009
  17. 00444 LIST
  18. 00002 list n=0, b=4
  19. 00003 noexpand
  20. 00004 errorlevel -302
  21. 00005
  22. 2007 3C24 00006 __config _INTOSCIO & _WDTE_OFF & _PWRTE_ON & _MCLRE_ON & _CP_OFF &_IOSCFS_4MHZ & _BOREN_
  23. OFF & _CP_ON
  24. 00007
  25. 00008 #define OPT GPIO, GP0
  26. 00009 #define SSR1 GPIO, GP4
  27. 00010 #define SSR2 GPIO, GP5
  28. 00000030 00011 SSR_MASK EQU 30
  29. 00012
  30. 00000004 00013 CPUCLOCK EQU 4
  31. 00000001 00014 TMR0CLOCK EQU CPUCLOCK/4
  32. 0000000A 00015 TICK EQU .10 ;millisec
  33. 0000003C 00016 MINUTE EQU .60 ;sec
  34. 000003E8 00017 MILI EQU .1000
  35. 00000005 00018 PRESCALER_E EQU 5
  36. 00000040 00019 PRESCALER EQU 1<<(PRESCALER_E+1)
  37. FFFFE890 00020 INIT_DELAY EQU -1*MINUTE*MILI/TICK ;1 minute
  38. FFFFD120 00021 OPT1_DELAY EQU -2*MINUTE*MILI/TICK ;2 minute
  39. FFFFA240 00022 OPT2_DELAY EQU -4*MINUTE*MILI/TICK ;4 minute
  40. 0000A000 00023 x1 equ TICK*1000
  41. 00000000 00024 x2 equ CPUCLOCK/PRESCALER
  42. FFFFFF66 00025 TMR0_TICK EQU -(TICK*.1000/TMR0CLOCK/PRESCALER-2) ;tick with TMR0
  43. 00000000 00026 No_State EQU 0
  44. 00000001 00027 Init_State EQU 1
  45. 00000002 00028 Wait_State EQU 2
  46. 00000003 00029 Delay_State EQU 3
  47. 00000004 00030 Off_State EQU 4
  48. 00031
  49. 00000005 00032 OPTION_START EQU 00 | PRESCALER_E ;0 = enable pull-ups
  50. 00033 ;0 = Interrupt on falling edge of GP2/INT pin
  51. 00034 ;0 = Timer0 Clock Source=FOSC/4
  52. 00035 ;0 = Timer0 Source Edge Select bit - NA
  53. 00036 ;0 = prescaler to Timer0
  54. 00037 ;101 64 prescaler
  55. 00038 ;------------------------------------------------------------------------------
  56. 00039 LoadTimer macro tmv
  57. 00040 movlw low tmv
  58. 00041 movwf TimerL
  59. 00042 movlw high tmv
  60. 00043 movwf TimerH
  61. 00044 endm
  62. 00045 ;------------------------------------------------------------------------------
  63. 00046 JumpOnState macro
  64. 00047 movf State, w
  65. 00048 addwf PCL, f
  66. 00049 endm
  67. 00050 ;------------------------------------------------------------------------------
  68. 00051 NextState macro
  69. 00052 incf State, f
  70. 00053 endm
  71. 00054 ;------------------------------------------------------------------------------
  72. 00055 cblock 70
  73. 00000070 00056 TimerL
  74. 00000071 00057 TimerH
  75. 00000072 00058 State
  76. 00000073 00059 WREG_TEMP
  77. 00000074 00060 STATUS_TEMP
  78. 00061 endc
  79. 00062
  80. 00063 ;******************************************************************************
  81. 00064 ; Start
  82. 00065 ;******************************************************************************
  83. 0000 00066 ORG 0
  84. 0000 284B 00067 goto Init
  85. 00068 ;------------------------------------------------------------------------------
  86. 00069 ; Interrupt
  87. 00070 ;------------------------------------------------------------------------------
  88. 0004 00071 Interrupt ORG 4
  89. 00072 ; movwf WREG_TEMP
  90. 00073 ; swapf STATUS, w
  91. 00074 ; movwf STATUS_TEMP
  92. 00075
  93. 0004 1C8B 00076 btfss INTCON, INTF
  94. 0005 2824 00077 goto No_INT
  95. 0006 3040 00078 movlw 40 ;toggle int edge
  96. 0007 1683 00079 banksel OPTION_REG
  97. 0008 0681 00080 xorwf OPTION_REG, f
  98. 00081
  99. 0009 108B 00082 bcf INTCON, INTF
  100. 00083 JumpOnState
  101. 000C 2811 00084 goto Int_No_State
  102. 000D 281A 00085 goto Int_Init_State
  103. 000E 2822 00086 goto Int_Wait_State
  104. 000F 2824 00087 goto No_INT ;Int_Delay_State
  105. 0010 2824 00088 goto No_INT ;Int_Off_State
  106. 00089 ;------------------------------------------------------------------------------
  107. 0011 00090 Int_No_State NextState ;-> Init
  108. 00091 LoadTimer INIT_DELAY
  109. 0016 1283 00092 banksel TMR0
  110. 0017 0181 00093 clrf TMR0
  111. 0018 110B 00094 bcf INTCON, TMR0IF
  112. 0019 2824 00095 goto No_INT
  113. 00096 ;------------------------------------------------------------------------------
  114. 001A 1283 00097 Int_Init_State banksel TMR0
  115. 001B 0181 00098 clrf TMR0
  116. 001C 0FF0 00099 incfsz TimerL, f
  117. 001D 2824 00100 goto No_INT
  118. 001E 0FF1 00101 incfsz TimerH, f
  119. 001F 2824 00102 goto No_INT
  120. 00103 NextState ;-> Wait
  121. 0021 2824 00104 goto No_INT
  122. 00105 ;------------------------------------------------------------------------------
  123. 0022 1283 00106 Int_Wait_State banksel TMR0
  124. 0023 0181 00107 clrf TMR0
  125. 0024 00108 No_INT
  126. 00109 ;******************************************************************************
  127. 00110 ; TIMER0 interrupt
  128. 00111 ;******************************************************************************
  129. 0024 1D0B 00112 btfss INTCON, TMR0IF
  130. 0025 284A 00113 goto No_TIMER0
  131. 0026 110B 00114 bcf INTCON, TMR0IF
  132. 00115 JumpOnState
  133. 0029 284A 00116 goto No_TIMER0 ;Tm0_No_State
  134. 002A 284A 00117 goto No_TIMER0 ;Tm0_Init_State
  135. 002B 282E 00118 goto Tm0_Wait_State
  136. 002C 283F 00119 goto Tm0_Delay_State
  137. 002D 284A 00120 goto No_TIMER0 ;Tm0_Off_State
  138. 00121 ;------------------------------------------------------------------------------
  139. 002E 1283 00122 Tm0_Wait_State banksel GPIO
  140. 002F 30CF 00123 movlw ~SSR_MASK ;SSR_OFF
  141. 0030 0585 00124 andwf GPIO, f
  142. 0031 1C05 00125 btfss OPT
  143. 0032 2839 00126 goto OPT1
  144. 00127 LoadTimer OPT2_DELAY ;set up delay
  145. 00128 NextState ;-> Delay
  146. 0038 284A 00129 goto No_TIMER0
  147. 00130 ;------------------------------------------------------------------------------
  148. 0039 00131 OPT1 LoadTimer OPT1_DELAY ;set up delay
  149. 00132 NextState ;-> Delay
  150. 003E 284A 00133 goto No_TIMER0
  151. 00134 ;------------------------------------------------------------------------------
  152. 003F 3066 00135 Tm0_Delay_State movlw TMR0_TICK
  153. 0040 1283 00136 banksel TMR0
  154. 0041 0081 00137 movwf TMR0
  155. 0042 0FF0 00138 incfsz TimerL, f
  156. 0043 284A 00139 goto No_TIMER0
  157. 0044 0FF1 00140 incfsz TimerH, f
  158. 0045 284A 00141 goto No_TIMER0
  159. 0046 1283 00142 banksel GPIO
  160. 0047 3030 00143 movlw SSR_MASK ;SSR_ON
  161. 0048 0485 00144 iorwf GPIO, f
  162. 00145 NextState ;-> Off
  163. 00146 ;------------------------------------------------------------------------------
  164. 004A 00147 No_TIMER0
  165. 00148 ; movf STATUS_TEMP, w
  166. 00149 ; movwf STATUS
  167. 00150 ; swapf WREG_TEMP, f
  168. 00151 ; swapf WREG_TEMP, w
  169. 004A 0009 00152 retfie
  170. 00153 ;********* Interrupt end ******************************************************
  171. 00154 ; Init
  172. 00155 ;******************************************************************************
  173. 004B 3005 00156 Init movlw OPTION_START
  174. 004C 1683 00157 banksel OPTION_REG
  175. 004D 0081 00158 movwf OPTION_REG
  176. 00159
  177. 004E 1683 00160 banksel ANSEL
  178. 004F 019F 00161 clrf ANSEL ;digital I/O, ADC clock
  179. 0050 1283 00162 banksel CMCON0
  180. 0051 019A 00163 clrf CMCON0 ;disable comparator
  181. 0052 3030 00164 movlw SSR_MASK ;high GP4, GP5
  182. 0053 0085 00165 movwf GPIO
  183. 0054 1683 00166 banksel WPU
  184. 0055 3003 00167 movlw 3 ;pull up OPT input & floating ICSPCLK
  185. 0056 0095 00168 movwf WPU
  186. 0057 1683 00169 banksel TRISIO
  187. 0058 300F 00170 movlw 0f ;output GP4, GP5
  188. 0059 0085 00171 movwf TRISIO
  189. 005A 3000 00172 movlw No_State
  190. 005B 00F2 00173 movwf State
  191. 00174
  192. 005C 1283 00175 banksel TMR0
  193. 005D 0181 00176 clrf TMR0
  194. 005E 30B0 00177 movlw 0b0 ;enable GIE, T0IE, INTE
  195. 005F 008B 00178 movwf INTCON
  196. 00179 ;------------------------------------------------------------------------------
  197. 0060 2860 00180 Main goto Main
  198. 00181 ;------------------------------------------------------------------------------
  199. 00182 END
  200. gpasm-1.5.2 #1312 (Oct 2 2017) delay.asm 7-21-2018 15:09:22 PAGE 2
  201.  
  202.  
  203. SYMBOL TABLE
  204. LABEL TYPE VALUE VALUE VALUE
  205. (hex) (dec) (text)
  206.  
  207. ANS0 CONSTANT 00000000 0
  208. ANS1 CONSTANT 00000001 1
  209. ANS3 CONSTANT 00000003 3
  210. ANSEL CONSTANT 0000009F 159
  211. C CONSTANT 00000000 0
  212. C1CH CONSTANT 00000000 0
  213. C1CH0 CONSTANT 00000000 0
  214. C1HYS CONSTANT 00000003 3
  215. C1IE CONSTANT 00000003 3
  216. C1IF CONSTANT 00000003 3
  217. C1OE CONSTANT 00000005 5
  218. C1ON CONSTANT 00000007 7
  219. C1OUT CONSTANT 00000006 6
  220. C1POL CONSTANT 00000004 4
  221. C1R CONSTANT 00000002 2
  222. C1SYNC CONSTANT 00000000 0
  223. C1VREN CONSTANT 00000007 7
  224. CMCH CONSTANT 00000000 0
  225. CMCON0 CONSTANT 0000001A 26
  226. CMCON1 CONSTANT 0000001C 28
  227. CMHYS CONSTANT 00000003 3
  228. CMIE CONSTANT 00000003 3
  229. CMIF CONSTANT 00000003 3
  230. CMOE CONSTANT 00000005 5
  231. CMON CONSTANT 00000007 7
  232. CMPOL CONSTANT 00000004 4
  233. CMR CONSTANT 00000002 2
  234. CMSYNC CONSTANT 00000000 0
  235. CMVREN CONSTANT 00000007 7
  236. COUT CONSTANT 00000006 6
  237. CPUCLOCK CONSTANT 00000004 4
  238. DC CONSTANT 00000001 1
  239. Delay_State CONSTANT 00000003 3
  240. F CONSTANT 00000001 1
  241. FBREN CONSTANT 00000004 4
  242. FSR CONSTANT 00000004 4
  243. FVREN CONSTANT 00000004 4
  244. GIE CONSTANT 00000007 7
  245. GP0 CONSTANT 00000000 0
  246. GP1 CONSTANT 00000001 1
  247. GP2 CONSTANT 00000002 2
  248. GP3 CONSTANT 00000003 3
  249. GP4 CONSTANT 00000004 4
  250. GP5 CONSTANT 00000005 5
  251. GPIE CONSTANT 00000003 3
  252. GPIF CONSTANT 00000000 0
  253. GPIO CONSTANT 00000005 5
  254. GPIO0 CONSTANT 00000000 0
  255. GPIO1 CONSTANT 00000001 1
  256. GPIO2 CONSTANT 00000002 2
  257. GPIO3 CONSTANT 00000003 3
  258. GPIO4 CONSTANT 00000004 4
  259. GPIO5 CONSTANT 00000005 5
  260. INDF CONSTANT 00000000 0
  261. INIT_DELAY CONSTANT FFFFE890 -6000
  262. INTCON CONSTANT 0000000B 11
  263. INTE CONSTANT 00000004 4
  264. INTEDG CONSTANT 00000006 6
  265. INTF CONSTANT 00000001 1
  266. IOC CONSTANT 00000096 150
  267. IOC0 CONSTANT 00000000 0
  268. IOC1 CONSTANT 00000001 1
  269. IOC2 CONSTANT 00000002 2
  270. IOC3 CONSTANT 00000003 3
  271. IOC4 CONSTANT 00000004 4
  272. IOC5 CONSTANT 00000005 5
  273. IOCA CONSTANT 00000096 150
  274. IOCA0 CONSTANT 00000000 0
  275. IOCA1 CONSTANT 00000001 1
  276. IOCA2 CONSTANT 00000002 2
  277. IOCA3 CONSTANT 00000003 3
  278. IOCA4 CONSTANT 00000004 4
  279. IOCA5 CONSTANT 00000005 5
  280. IRP CONSTANT 00000007 7
  281. Init ADDRESS 0000004B 75
  282. Init_State CONSTANT 00000001 1
  283. Int_Init_State ADDRESS 0000001A 26
  284. Int_No_State ADDRESS 00000011 17
  285. Int_Wait_State ADDRESS 00000022 34
  286. Interrupt CONSTANT 00000004 4
  287. JumpOnState MACRO
  288. LoadTimer MACRO tmv
  289. MILI CONSTANT 000003E8 1000
  290. MINUTE CONSTANT 0000003C 60
  291. Main ADDRESS 00000060 96
  292. NOT_BOD CONSTANT 00000000 0
  293. NOT_BOR CONSTANT 00000000 0
  294. NOT_GPPU CONSTANT 00000007 7
  295. NOT_PD CONSTANT 00000003 3
  296. NOT_POR CONSTANT 00000001 1
  297. NOT_T1SYNC CONSTANT 00000002 2
  298. NOT_TO CONSTANT 00000004 4
  299. NextState MACRO
  300. No_INT ADDRESS 00000024 36
  301. No_State CONSTANT 00000000 0
  302. No_TIMER0 ADDRESS 0000004A 74
  303. OPT DEFINITION GPIO, GP0
  304. OPT1 ADDRESS 00000039 57
  305. OPT1_DELAY CONSTANT FFFFD120 -12000
  306. OPT2_DELAY CONSTANT FFFFA240 -24000
  307. OPTION_REG CONSTANT 00000081 129
  308. OPTION_START CONSTANT 00000005 5
  309. OSCTUNE CONSTANT 00000090 144
  310. Off_State CONSTANT 00000004 4
  311. PCL CONSTANT 00000002 2
  312. PCLATH CONSTANT 0000000A 10
  313. PCON CONSTANT 0000008E 142
  314. PEIE CONSTANT 00000006 6
  315. PIE1 CONSTANT 0000008C 140
  316. PIR1 CONSTANT 0000000C 12
  317. PORTA CONSTANT 00000005 5
  318. PRESCALER CONSTANT 00000040 64
  319. PRESCALER_E CONSTANT 00000005 5
  320. PS0 CONSTANT 00000000 0
  321. PS1 CONSTANT 00000001 1
  322. PS2 CONSTANT 00000002 2
  323. PSA CONSTANT 00000003 3
  324. RA0 CONSTANT 00000000 0
  325. RA1 CONSTANT 00000001 1
  326. RA2 CONSTANT 00000002 2
  327. RA3 CONSTANT 00000003 3
  328. RA4 CONSTANT 00000004 4
  329. RA5 CONSTANT 00000005 5
  330. RP0 CONSTANT 00000005 5
  331. RP1 CONSTANT 00000006 6
  332. SSR1 DEFINITION GPIO, GP4
  333. SSR2 DEFINITION GPIO, GP5
  334. SSR_MASK CONSTANT 00000030 48
  335. STATUS CONSTANT 00000003 3
  336. STATUS_TEMP CBLOCK 00000074 116
  337. State CBLOCK 00000072 114
  338. T0CS CONSTANT 00000005 5
  339. T0IE CONSTANT 00000005 5
  340. T0IF CONSTANT 00000002 2
  341. T0SE CONSTANT 00000004 4
  342. T1ACS CONSTANT 00000004 4
  343. T1CKPS0 CONSTANT 00000004 4
  344. T1CKPS1 CONSTANT 00000005 5
  345. T1CON CONSTANT 00000010 16
  346. T1GINV CONSTANT 00000007 7
  347. T1GSS CONSTANT 00000001 1
  348. T1IE CONSTANT 00000000 0
  349. T1IF CONSTANT 00000000 0
  350. T1OSCEN CONSTANT 00000003 3
  351. TICK CONSTANT 0000000A 10
  352. TMR0 CONSTANT 00000001 1
  353. TMR0CLOCK CONSTANT 00000001 1
  354. TMR0IE CONSTANT 00000005 5
  355. TMR0IF CONSTANT 00000002 2
  356. TMR0_TICK CONSTANT FFFFFF66 -154
  357. TMR1 CONSTANT 0000000E 14
  358. TMR1CS CONSTANT 00000001 1
  359. TMR1GE CONSTANT 00000006 6
  360. TMR1H CONSTANT 0000000F 15
  361. TMR1IE CONSTANT 00000000 0
  362. TMR1IF CONSTANT 00000000 0
  363. TMR1L CONSTANT 0000000E 14
  364. TMR1ON CONSTANT 00000000 0
  365. TRISA CONSTANT 00000085 133
  366. TRISA0 CONSTANT 00000000 0
  367. TRISA1 CONSTANT 00000001 1
  368. TRISA2 CONSTANT 00000002 2
  369. TRISA3 CONSTANT 00000003 3
  370. TRISA4 CONSTANT 00000004 4
  371. TRISA5 CONSTANT 00000005 5
  372. TRISIO CONSTANT 00000085 133
  373. TRISIO0 CONSTANT 00000000 0
  374. TRISIO1 CONSTANT 00000001 1
  375. TRISIO2 CONSTANT 00000002 2
  376. TRISIO3 CONSTANT 00000003 3
  377. TRISIO4 CONSTANT 00000004 4
  378. TRISIO5 CONSTANT 00000005 5
  379. TUN0 CONSTANT 00000000 0
  380. TUN1 CONSTANT 00000001 1
  381. TUN2 CONSTANT 00000002 2
  382. TUN3 CONSTANT 00000003 3
  383. TUN4 CONSTANT 00000004 4
  384. TimerH CBLOCK 00000071 113
  385. TimerL CBLOCK 00000070 112
  386. Tm0_Delay_State ADDRESS 0000003F 63
  387. Tm0_Wait_State ADDRESS 0000002E 46
  388. VP6EN CONSTANT 00000004 4
  389. VR0 CONSTANT 00000000 0
  390. VR1 CONSTANT 00000001 1
  391. VR2 CONSTANT 00000002 2
  392. VR3 CONSTANT 00000003 3
  393. VRCON CONSTANT 00000019 25
  394. VRR CONSTANT 00000005 5
  395. W CONSTANT 00000000 0
  396. WPU CONSTANT 00000095 149
  397. WPU0 CONSTANT 00000000 0
  398. WPU1 CONSTANT 00000001 1
  399. WPU2 CONSTANT 00000002 2
  400. WPU4 CONSTANT 00000004 4
  401. WPU5 CONSTANT 00000005 5
  402. WPUA CONSTANT 00000095 149
  403. WPUA0 CONSTANT 00000000 0
  404. WPUA1 CONSTANT 00000001 1
  405. WPUA2 CONSTANT 00000002 2
  406. WPUA4 CONSTANT 00000004 4
  407. WPUA5 CONSTANT 00000005 5
  408. WREG_TEMP CBLOCK 00000073 115
  409. Wait_State CONSTANT 00000002 2
  410. Z CONSTANT 00000002 2
  411. _BOD_NSLEEP CONSTANT 00003EFF 16127
  412. _BOD_OFF CONSTANT 00003CFF 15615
  413. _BOD_ON CONSTANT 00003FFF 16383
  414. _BOREN_NSLEEP CONSTANT 00003EFF 16127
  415. _BOREN_OFF CONSTANT 00003CFF 15615
  416. _BOREN_ON CONSTANT 00003FFF 16383
  417. _BOR_NSLEEP CONSTANT 00003EFF 16127
  418. _BOR_OFF CONSTANT 00003CFF 15615
  419. _BOR_ON CONSTANT 00003FFF 16383
  420. _CONFIG CONSTANT 00002007 8199
  421. _CP_OFF CONSTANT 00003FFF 16383
  422. _CP_ON CONSTANT 00003FBF 16319
  423. _DEVID1 CONSTANT 00002006 8198
  424. _EC_OSC CONSTANT 00003FFB 16379
  425. _EXTRC CONSTANT 00003FFF 16383
  426. _EXTRCIO CONSTANT 00003FFE 16382
  427. _EXTRC_OSC_CLKOUT CONSTANT 00003FFF 16383
  428. _EXTRC_OSC_NOCLKOUT CONSTANT 00003FFE 16382
  429. _FOSC_EC CONSTANT 00003FFB 16379
  430. _FOSC_EXTRCCLK CONSTANT 00003FFF 16383
  431. _FOSC_EXTRCIO CONSTANT 00003FFE 16382
  432. _FOSC_HS CONSTANT 00003FFA 16378
  433. _FOSC_INTOSCCLK CONSTANT 00003FFD 16381
  434. _FOSC_INTOSCIO CONSTANT 00003FFC 16380
  435. _FOSC_LP CONSTANT 00003FF8 16376
  436. _FOSC_XT CONSTANT 00003FF9 16377
  437. _HS_OSC CONSTANT 00003FFA 16378
  438. _IDLOC0 CONSTANT 00002000 8192
  439. _IDLOC1 CONSTANT 00002001 8193
  440. _IDLOC2 CONSTANT 00002002 8194
  441. _IDLOC3 CONSTANT 00002003 8195
  442. _INTOSC CONSTANT 00003FFD 16381
  443. _INTOSCIO CONSTANT 00003FFC 16380
  444. _INTRC_OSC_CLKOUT CONSTANT 00003FFD 16381
  445. _INTRC_OSC_NOCLKOUT CONSTANT 00003FFC 16380
  446. _IOSCFS4 CONSTANT 00003F7F 16255
  447. _IOSCFS8 CONSTANT 00003FFF 16383
  448. _IOSCFS_4MHZ CONSTANT 00003F7F 16255
  449. _IOSCFS_8MHZ CONSTANT 00003FFF 16383
  450. _LP_OSC CONSTANT 00003FF8 16376
  451. _MCLRE_OFF CONSTANT 00003FDF 16351
  452. _MCLRE_ON CONSTANT 00003FFF 16383
  453. _PWRTE_OFF CONSTANT 00003FFF 16383
  454. _PWRTE_ON CONSTANT 00003FEF 16367
  455. _WDTE_OFF CONSTANT 00003FF7 16375
  456. _WDTE_ON CONSTANT 00003FFF 16383
  457. _WDT_OFF CONSTANT 00003FF7 16375
  458. _WDT_ON CONSTANT 00003FFF 16383
  459. _XT_OSC CONSTANT 00003FF9 16377
  460. __12F609 CONSTANT 00000001 1
  461. __14_BIT CONSTANT 00000001 1
  462. __ACTIVE_BANK_ADDR VARIABLE FFFFFFFF -1
  463. __ACTIVE_PAGE_ADDR VARIABLE 00000000 0
  464. __ASSUMED_BANK_ADDR VARIABLE FFFFFFFF -1
  465. __BANK_0 CONSTANT 00000000 0
  466. __BANK_1 CONSTANT 00000080 128
  467. __BANK_BITS CONSTANT 00000080 128
  468. __BANK_FIRST CONSTANT 00000000 0
  469. __BANK_INV CONSTANT FFFFFFFF -1
  470. __BANK_LAST CONSTANT 00000080 128
  471. __BANK_MASK CONSTANT 0000007F 127
  472. __BANK_SHIFT CONSTANT 00000007 7
  473. __BANK_SIZE CONSTANT 00000080 128
  474. __CODE_END CONSTANT 000003FF 1023
  475. __CODE_START CONSTANT 00000000 0
  476. __COMMON_RAM_END CONSTANT 0000007F 127
  477. __COMMON_RAM_START CONSTANT 00000070 112
  478. __CONFIG_END CONSTANT 00002007 8199
  479. __CONFIG_START CONSTANT 00002007 8199
  480. __GPUTILS_SVN_VERSION CONSTANT 00000520 1312
  481. __GPUTILS_VERSION_MAJOR CONSTANT 00000001 1
  482. __GPUTILS_VERSION_MICRO CONSTANT 00000002 2
  483. __GPUTILS_VERSION_MINOR CONSTANT 00000005 5
  484. __IDLOCS_END CONSTANT 00002003 8195
  485. __IDLOCS_START CONSTANT 00002000 8192
  486. __NUM_BANKS CONSTANT 00000002 2
  487. __NUM_PAGES CONSTANT 00000001 1
  488. __PAGE_0 CONSTANT 00000000 0
  489. __PAGE_BITS CONSTANT 00001800 6144
  490. __PAGE_FIRST CONSTANT 00000000 0
  491. __PAGE_INV CONSTANT FFFFFFFF -1
  492. __PAGE_LAST CONSTANT 00000000 0
  493. __PAGE_MASK CONSTANT 000007FF 2047
  494. __PAGE_SHIFT CONSTANT 0000000B 11
  495. __PAGE_SIZE CONSTANT 00000800 2048
  496. __VECTOR_INT CONSTANT 00000004 4
  497. __VECTOR_RESET CONSTANT 00000000 0
  498. __WHILE_LOOP_COUNT_MAX CONSTANT 000000FF 255
  499. x1 CONSTANT 0000A000 40960
  500. x2 CONSTANT 00000000 0
  501.  
  502.  
  503. MEMORY USAGE MAP ('X' = Used, '-' = Unused)
  504.  
  505. 0000 : X---XXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
  506. 0040 : XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX X--------------- ----------------
  507. 2000 : -------X-------- ---------------- ---------------- ----------------
  508.  
  509. All other memory blocks unused.
  510.  
  511. Program Memory Words Used: 94
  512. Program Memory Words Free: 930
  513.  
  514.  
  515. Errors : 0
  516. Warnings : 0 reported, 0 suppressed
  517. Messages : 0 reported, 0 suppressed
RAW Paste Data