1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
|
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 1
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00001 ;--------------------------------------------------------
00002 ; File Created by SDCC : free open source ANSI-C Compiler
00003 ; Version 2.7.4 #4943 (Oct 27 2007) (UNIX)
00004 ; This file was generated Fri Jun 13 14:34:04 2008
00005 ;--------------------------------------------------------
00006 ; PIC port for the 14-bit core
00007 ;--------------------------------------------------------
00008 ; .module extruder1
00009 list p=16f648a
00010 radix dec
00011 include "p16f648a.inc"
00001 LIST
00002 ; P16F648A.INC Standard Header File, Version 1.00 Microchip Technology, Inc.
00264 LIST
00012 ;--------------------------------------------------------
00013 ; config word
00014 ;--------------------------------------------------------
002007 0000 00015 __config 0x3f10
00016 ;--------------------------------------------------------
00017 ; external declarations
00018 ;--------------------------------------------------------
00019 extern _init2
00020 extern _processCommand
00021 extern _motorTick
00022 extern _timerTick
00023 extern _checkTemperature
00024 extern _flashLED
00025 extern _LEDon
00026 extern _setFlash
00027 extern _uartTransmit
00028 extern _sendReply
00029 extern _sendMessage
00030 extern _sendDataByte
00031 extern _endMessage
00032 extern _sendMessageISR
00033 extern _sendDataByteISR
00034 extern _endMessageISR
00035 extern _releaseLock
00036 extern _serialInterruptHandler
00037 extern _packetReady
00038 extern _uartNotifyReceive
00039 extern _serial_init
00040 extern _delay_10us
00041 extern _clearwdt
00042 extern _CCP1CON_bits
00043 extern _CMCON_bits
00044 extern _EECON1_bits
00045 extern _INTCON_bits
00046 extern _OPTION_REG_bits
00047 extern _PCON_bits
00048 extern _PIE1_bits
00049 extern _PIR1_bits
00050 extern _PORTA_bits
00051 extern _PORTB_bits
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 2
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00052 extern _RCSTA_bits
00053 extern _STATUS_bits
00054 extern _T1CON_bits
00055 extern _T2CON_bits
00056 extern _TRISA_bits
00057 extern _TRISB_bits
00058 extern _TXSTA_bits
00059 extern _VRCON_bits
00060 extern _PWMPeriod
00061 extern _buffer
00062 extern _serialStatus
00063 extern _INDF
00064 extern _TMR0
00065 extern _PCL
00066 extern _STATUS
00067 extern _FSR
00068 extern _PORTA
00069 extern _PORTB
00070 extern _PCLATH
00071 extern _INTCON
00072 extern _PIR1
00073 extern _TMR1L
00074 extern _TMR1H
00075 extern _T1CON
00076 extern _TMR2
00077 extern _T2CON
00078 extern _CCPR1L
00079 extern _CCPR1H
00080 extern _CCP1CON
00081 extern _RCSTA
00082 extern _TXREG
00083 extern _RCREG
00084 extern _CMCON
00085 extern _OPTION_REG
00086 extern _TRISA
00087 extern _TRISB
00088 extern _PIE1
00089 extern _PCON
00090 extern _PR2
00091 extern _TXSTA
00092 extern _SPBRG
00093 extern _EEDATA
00094 extern _EEADR
00095 extern _EECON1
00096 extern _EECON2
00097 extern _VRCON
00098 extern ___sdcc_saved_fsr
00099 extern __sdcc_gsinit_startup
00100 ;--------------------------------------------------------
00101 ; global declarations
00102 ;--------------------------------------------------------
00103 global _init1
00104 global _main
00105 global _deviceAddress
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 3
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00106
00107 global PSAVE
00108 global SSAVE
00109 global WSAVE
00110 global STK12
00111 global STK11
00112 global STK10
00113 global STK09
00114 global STK08
00115 global STK07
00116 global STK06
00117 global STK05
00118 global STK04
00119 global STK03
00120 global STK02
00121 global STK01
00122 global STK00
00123
00124 sharebank udata_ovr 0x0070
00125 PSAVE res 1
00126 SSAVE res 1
00127 WSAVE res 1
00128 STK12 res 1
00129 STK11 res 1
00130 STK10 res 1
00131 STK09 res 1
00132 STK08 res 1
00133 STK07 res 1
00134 STK06 res 1
00135 STK05 res 1
00136 STK04 res 1
00137 STK03 res 1
00138 STK02 res 1
00139 STK01 res 1
00140 STK00 res 1
00141
00142 ;--------------------------------------------------------
00143 ; global definitions
00144 ;--------------------------------------------------------
00145 ;--------------------------------------------------------
00146 ; absolute symbol definitions
00147 ;--------------------------------------------------------
00148 ;--------------------------------------------------------
00149 ; compiler-defined variables
00150 ;--------------------------------------------------------
00151 UDL_extruder1_0 udata
00152 r0x1002 res 1
00153 ;--------------------------------------------------------
00154 ; initialized data
00155 ;--------------------------------------------------------
00156
00157 ID_extruder1_0 idata
0000 00158 _deviceAddress
00159 db 0x09
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 4
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00160
00161 ;--------------------------------------------------------
00162 ; overlayable items in internal ram
00163 ;--------------------------------------------------------
00164 ; udata_ovr
00165 ;--------------------------------------------------------
00166 ; reset vector
00167 ;--------------------------------------------------------
00168 STARTUP code
0000 0000 00169 nop
0001 0000 00170 pagesel __sdcc_gsinit_startup
0002 2800 00171 goto __sdcc_gsinit_startup
00172 ;--------------------------------------------------------
00173 ; interrupt and initialization code
00174 ;--------------------------------------------------------
00175 c_interrupt code 0x4
0004 00176 __sdcc_interrupt
00177 ;***
00178 ; pBlock Stats: dbName = I
00179 ;***
00180 ;entry: _isr ;Function start
00181 ; 0 exit points
00182 ;functions called:
00183 ; _serialInterruptHandler
00184 ; _motorTick
00185 ; _timerTick
00186 ; _serialInterruptHandler
00187 ; _motorTick
00188 ; _timerTick
00189 ;; Starting pCode block
0004 00190 _isr ;Function start
00191 ; 0 exit points
00192 ; .line 48; "extruder1.c" static void isr() interrupt 0 {
0004 0080 00193 MOVWF WSAVE
0005 0E03 00194 SWAPF STATUS,W
0006 0183 00195 CLRF STATUS
0007 0080 00196 MOVWF SSAVE
0008 080A 00197 MOVF PCLATH,W
0009 018A 00198 CLRF PCLATH
000A 0080 00199 MOVWF PSAVE
000B 0804 00200 MOVF FSR,W
000C 0000 0000 00201 BANKSEL ___sdcc_saved_fsr
000E 0080 00202 MOVWF ___sdcc_saved_fsr
00203 ; .line 49; "extruder1.c" serialInterruptHandler();
000F 0000 00204 PAGESEL _serialInterruptHandler
0010 2000 00205 CALL _serialInterruptHandler
0011 0000 00206 PAGESEL $
00207 ; .line 51; "extruder1.c" if (RBIF)
0012 0000 0000 00208 BANKSEL _INTCON_bits
0014 1C00 00209 BTFSS _INTCON_bits,0
0015 2800 00210 GOTO _00106_DS_
00211 ; .line 52; "extruder1.c" motorTick();
0016 0000 00212 PAGESEL _motorTick
0017 2000 00213 CALL _motorTick
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 5
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
0018 0000 00214 PAGESEL $
0019 00215 _00106_DS_
00216 ; .line 54; "extruder1.c" if (TMR1IF) {
0019 0000 0000 00217 BANKSEL _PIR1_bits
001B 1C00 00218 BTFSS _PIR1_bits,0
001C 2800 00219 GOTO _00109_DS_
00220 ; .line 55; "extruder1.c" timerTick();
001D 0000 00221 PAGESEL _timerTick
001E 2000 00222 CALL _timerTick
001F 0000 00223 PAGESEL $
00224 ; .line 56; "extruder1.c" TMR1IF = 0;
0020 0000 0000 00225 BANKSEL _PIR1_bits
0022 1000 00226 BCF _PIR1_bits,0
0023 00227 _00109_DS_
0023 0000 0000 00228 BANKSEL ___sdcc_saved_fsr
0025 0800 00229 MOVF ___sdcc_saved_fsr,W
0026 0084 00230 MOVWF FSR
0027 0800 00231 MOVF PSAVE,W
0028 008A 00232 MOVWF PCLATH
0029 0183 00233 CLRF STATUS
002A 0E00 00234 SWAPF SSAVE,W
002B 0083 00235 MOVWF STATUS
002C 0E80 00236 SWAPF WSAVE,F
002D 0E00 00237 SWAPF WSAVE,W
002E 00238 END_OF_INTERRUPT
002E 0009 00239 RETFIE
00240
00241 ;--------------------------------------------------------
00242 ; code
00243 ;--------------------------------------------------------
00244 code_extruder1 code
00245 ;***
00246 ; pBlock Stats: dbName = M
00247 ;***
00248 ;entry: _main ;Function start
00249 ; 2 exit points
00250 ;has an exit
00251 ;functions called:
00252 ; _init2
00253 ; _init1
00254 ; _serial_init
00255 ; _uartTransmit
00256 ; _packetReady
00257 ; _processCommand
00258 ; _releaseLock
00259 ; _checkTemperature
00260 ; _delay_10us
00261 ; _clearwdt
00262 ; _init2
00263 ; _init1
00264 ; _serial_init
00265 ; _uartTransmit
00266 ; _packetReady
00267 ; _processCommand
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 6
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00268 ; _releaseLock
00269 ; _checkTemperature
00270 ; _delay_10us
00271 ; _clearwdt
00272 ;1 compiler assigned register :
00273 ; r0x1002
00274 ;; Starting pCode block
0000 00275 _main ;Function start
00276 ; 2 exit points
00277 ; .line 127; "extruder1.c" init2(); // Order is important here, otherwise interrupts will occur
0000 0000 00278 PAGESEL _init2
0001 2000 00279 CALL _init2
0002 0000 00280 PAGESEL $
00281 ; .line 130; "extruder1.c" init1();
0003 2000 00282 CALL _init1
00283 ; .line 131; "extruder1.c" serial_init();
0004 0000 00284 PAGESEL _serial_init
0005 2000 00285 CALL _serial_init
0006 0000 00286 PAGESEL $
00287 ; .line 134; "extruder1.c" GIE=0;
0007 0000 0000 00288 BANKSEL _INTCON_bits
0009 1380 00289 BCF _INTCON_bits,7
00290 ; .line 135; "extruder1.c" uartTransmit(0);
000A 3000 00291 MOVLW 0x00
000B 0000 00292 PAGESEL _uartTransmit
000C 2000 00293 CALL _uartTransmit
000D 0000 00294 PAGESEL $
00295 ; .line 136; "extruder1.c" GIE=1;
000E 0000 0000 00296 BANKSEL _INTCON_bits
0010 1780 00297 BSF _INTCON_bits,7
0011 00298 _00121_DS_
00299 ; .line 139; "extruder1.c" if (packetReady()) {
0011 0000 00300 PAGESEL _packetReady
0012 2000 00301 CALL _packetReady
0013 0000 00302 PAGESEL $
0014 0000 0000 00303 BANKSEL r0x1002
0016 0080 00304 MOVWF r0x1002
0017 0800 00305 MOVF r0x1002,W
0018 1903 00306 BTFSC STATUS,2
0019 2800 00307 GOTO _00119_DS_
00308 ; .line 140; "extruder1.c" processCommand();
001A 0000 00309 PAGESEL _processCommand
001B 2000 00310 CALL _processCommand
001C 0000 00311 PAGESEL $
00312 ; .line 141; "extruder1.c" releaseLock();
001D 0000 00313 PAGESEL _releaseLock
001E 2000 00314 CALL _releaseLock
001F 0000 00315 PAGESEL $
0020 00316 _00119_DS_
00317 ; .line 143; "extruder1.c" checkTemperature();
0020 0000 00318 PAGESEL _checkTemperature
0021 2000 00319 CALL _checkTemperature
0022 0000 00320 PAGESEL $
00321 ; .line 144; "extruder1.c" delay_10us();
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 7
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
0023 0000 00322 PAGESEL _delay_10us
0024 2000 00323 CALL _delay_10us
0025 0000 00324 PAGESEL $
00325 ; .line 145; "extruder1.c" clearwdt();
0026 0000 00326 PAGESEL _clearwdt
0027 2000 00327 CALL _clearwdt
0028 0000 00328 PAGESEL $
0029 2800 00329 GOTO _00121_DS_
002A 0008 00330 RETURN
00331 ; exit point of _main
00332
00333 ;***
00334 ; pBlock Stats: dbName = C
00335 ;***
00336 ;entry: _init1 ;Function start
00337 ; 2 exit points
00338 ;has an exit
00339 ;; Starting pCode block
002B 00340 _init1 ;Function start
00341 ; 2 exit points
00342 ; .line 65; "extruder1.c" OPTION_REG = BIN(01011111); // Disable TMR0 on RA4, 1:128 WDT, pullups on
002B 305F 00343 MOVLW 0x5f
002C 0000 0000 00344 BANKSEL _OPTION_REG
002E 0080 00345 MOVWF _OPTION_REG
00346 ; .line 66; "extruder1.c" CMCON = BIN(00000010); // Comparator: compare RA0 to int. ref.
002F 3002 00347 MOVLW 0x02
0030 0000 0000 00348 BANKSEL _CMCON
0032 0080 00349 MOVWF _CMCON
00350 ; .line 67; "extruder1.c" TRISA = BIN(11111111); // Port A all inputs for now
0033 30FF 00351 MOVLW 0xff
0034 0000 0000 00352 BANKSEL _TRISA
0036 0080 00353 MOVWF _TRISA
00354 ; .line 77; "extruder1.c" TRISB = BIN(11000111);
0037 30C7 00355 MOVLW 0xc7
0038 0080 00356 MOVWF _TRISB
00357 ; .line 85; "extruder1.c" PIE1 = BIN(00000000); // All peripheral interrupts initially disabled
0039 0180 00358 CLRF _PIE1
00359 ; .line 86; "extruder1.c" INTCON = BIN(00000000); // Interrupts disabled
003A 0000 0000 00360 BANKSEL _INTCON
003C 0180 00361 CLRF _INTCON
00362 ; .line 87; "extruder1.c" PIR1 = 0; // Clear peripheral interrupt flags
003D 0180 00363 CLRF _PIR1
00364 ; .line 88; "extruder1.c" SPBRG = 12; // 12 = ~19200 baud @ 4MHz
003E 300C 00365 MOVLW 0x0c
003F 0000 0000 00366 BANKSEL _SPBRG
0041 0080 00367 MOVWF _SPBRG
00368 ; .line 90; "extruder1.c" TXSTA = BIN(00000100); // 8 bit high speed
0042 3004 00369 MOVLW 0x04
0043 0080 00370 MOVWF _TXSTA
00371 ; .line 91; "extruder1.c" RCSTA = BIN(10000000); // Enable port for 8 bit receive
0044 3080 00372 MOVLW 0x80
0045 0000 0000 00373 BANKSEL _RCSTA
0047 0080 00374 MOVWF _RCSTA
00375 ; .line 93; "extruder1.c" RCIE = 1; // Enable receive interrupts
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 8
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
0048 0000 0000 00376 BANKSEL _PIE1_bits
004A 1680 00377 BSF _PIE1_bits,5
00378 ; .line 94; "extruder1.c" CREN = 1; // Start reception
004B 0000 0000 00379 BANKSEL _RCSTA_bits
004D 1600 00380 BSF _RCSTA_bits,4
00381 ; .line 96; "extruder1.c" TXEN = 1; // Enable transmit
004E 0000 0000 00382 BANKSEL _TXSTA_bits
0050 1680 00383 BSF _TXSTA_bits,5
00384 ; .line 97; "extruder1.c" RBIE = 1; // Enable RB port change interrupt
0051 0000 0000 00385 BANKSEL _INTCON_bits
0053 1580 00386 BSF _INTCON_bits,3
00387 ; .line 99; "extruder1.c" PEIE = 1; // Peripheral interrupts on
0054 1700 00388 BSF _INTCON_bits,6
00389 ; .line 100; "extruder1.c" GIE = 1; // Now turn on interrupts
0055 1780 00390 BSF _INTCON_bits,7
00391 ; .line 102; "extruder1.c" PORTB = BIN(11000001);
0056 30C1 00392 MOVLW 0xc1
0057 0080 00393 MOVWF _PORTB
00394 ; .line 103; "extruder1.c" TRISA = BIN(11000010) | PORTATRIS; // Turn off A/D lines,
0058 30E2 00395 MOVLW 0xe2
0059 0000 0000 00396 BANKSEL _TRISA
005B 0080 00397 MOVWF _TRISA
00398 ; .line 105; "extruder1.c" PORTA = 0;
005C 0000 0000 00399 BANKSEL _PORTA
005E 0180 00400 CLRF _PORTA
00401 ; .line 114; "extruder1.c" TMR1IE = 0;
005F 0000 0000 00402 BANKSEL _PIE1_bits
0061 1000 00403 BCF _PIE1_bits,0
00404 ; .line 115; "extruder1.c" T1CON = BIN(00000000); // Timer 1 in clock mode with 1:1 scale
0062 0000 0000 00405 BANKSEL _T1CON
0064 0180 00406 CLRF _T1CON
00407 ; .line 116; "extruder1.c" TMR1IE = 1; // Enable timer interrupt
0065 0000 0000 00408 BANKSEL _PIE1_bits
0067 1400 00409 BSF _PIE1_bits,0
00410 ; .line 117; "extruder1.c" TMR1ON = 1;
0068 0000 0000 00411 BANKSEL _T1CON_bits
006A 1400 00412 BSF _T1CON_bits,0
00413 ; .line 119; "extruder1.c" PR2 = PWMPeriod; // Initial PWM period
006B 0000 0000 00414 BANKSEL _PWMPeriod
006D 0800 00415 MOVF _PWMPeriod,W
006E 0000 0000 00416 BANKSEL _PR2
0070 0080 00417 MOVWF _PR2
00418 ; .line 120; "extruder1.c" CCP1CON = BIN(00001100); // Enable PWM mode
0071 300C 00419 MOVLW 0x0c
0072 0000 0000 00420 BANKSEL _CCP1CON
0074 0080 00421 MOVWF _CCP1CON
00422 ; .line 121; "extruder1.c" CCPR1L = 0; // Start turned off
0075 0180 00423 CLRF _CCPR1L
00424 ; .line 123; "extruder1.c" T2CON = BIN(00000100); // Enable timer 2 and set prescale to 1
0076 3004 00425 MOVLW 0x04
0077 0080 00426 MOVWF _T2CON
0078 0008 00427 RETURN
00428 ; exit point of _init1
00429
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 9
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00430
00431 ; code size estimation:
00432 ; 86+ 51 = 137 instructions ( 376 byte)
00433
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 10
SYMBOL TABLE
LABEL VALUE
ADEN 00000003
BRGH 00000002
C 00000000
C1INV 00000004
C1OUT 00000006
C2INV 00000005
C2OUT 00000007
CCP1CON 00000017
CCP1IE 00000002
CCP1IF 00000002
CCP1M0 00000000
CCP1M1 00000001
CCP1M2 00000002
CCP1M3 00000003
CCP1X 00000005
CCP1Y 00000004
CCPR1H 00000016
CCPR1L 00000015
CIS 00000003
CM0 00000000
CM1 00000001
CM2 00000002
CMCON 0000001F
CMIE 00000006
CMIF 00000006
CREN 00000004
CSRC 00000007
DC 00000001
EEADR 0000009B
EECON1 0000009C
EECON2 0000009D
EEDATA 0000009A
EEIE 00000007
EEIF 00000007
END_OF_INTERRUPT 0000002E
F 00000001
FERR 00000002
FSR 00000004
GIE 00000007
INDF 00000000
INTCON 0000000B
INTE 00000004
INTEDG 00000006
INTF 00000001
IRP 00000007
NOT_BO 00000000
NOT_BOD 00000000
NOT_BOR 00000000
NOT_PD 00000003
NOT_POR 00000001
NOT_RBPU 00000007
NOT_T1SYNC 00000002
NOT_TO 00000004
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 11
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
OERR 00000001
OPTION_REG 00000081
OSCF 00000003
PCL 00000002
PCLATH 0000000A
PCON 0000008E
PEIE 00000006
PIE1 0000008C
PIR1 0000000C
PORTA 00000005
PORTB 00000006
PR2 00000092
PS0 00000000
PS1 00000001
PS2 00000002
PSA 00000003
PSAVE 00000070
RBIE 00000003
RBIF 00000000
RCIE 00000005
RCIF 00000005
RCREG 0000001A
RCSTA 00000018
RD 00000000
RP0 00000005
RP1 00000006
RX9 00000006
RX9D 00000000
SPBRG 00000099
SPEN 00000007
SREN 00000005
SSAVE 00000071
STATUS 00000003
STK00 0000007F
STK01 0000007E
STK02 0000007D
STK03 0000007C
STK04 0000007B
STK05 0000007A
STK06 00000079
STK07 00000078
STK08 00000077
STK09 00000076
STK10 00000075
STK11 00000074
STK12 00000073
SYNC 00000004
T0CS 00000005
T0IE 00000005
T0IF 00000002
T0SE 00000004
T1CKPS0 00000004
T1CKPS1 00000005
T1CON 00000010
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 12
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
T1OSCEN 00000003
T2CKPS0 00000000
T2CKPS1 00000001
T2CON 00000012
TMR0 00000001
TMR1CS 00000001
TMR1H 0000000F
TMR1IE 00000000
TMR1IF 00000000
TMR1L 0000000E
TMR1ON 00000000
TMR2 00000011
TMR2IE 00000001
TMR2IF 00000001
TMR2ON 00000002
TOUTPS0 00000003
TOUTPS1 00000004
TOUTPS2 00000005
TOUTPS3 00000006
TRISA 00000085
TRISB 00000086
TRMT 00000001
TX9 00000006
TX9D 00000000
TXEN 00000005
TXIE 00000004
TXIF 00000004
TXREG 00000019
TXSTA 00000098
VR0 00000000
VR1 00000001
VR2 00000002
VR3 00000003
VRCON 0000009F
VREN 00000007
VROE 00000006
VRR 00000005
W 00000000
WR 00000001
WREN 00000002
WRERR 00000003
WSAVE 00000072
Z 00000002
_00106_DS_ 00000019
_00109_DS_ 00000023
_00119_DS_ 00000020
_00121_DS_ 00000011
_BODEN_OFF 00003FBF
_BODEN_ON 00003FFF
_BOREN_OFF 00003FBF
_BOREN_ON 00003FFF
_CCP1CON 00000000
_CCP1CON_bits 00000000
_CCPR1H 00000000
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 13
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
_CCPR1L 00000000
_CMCON 00000000
_CMCON_bits 00000000
_CP_OFF 00003FFF
_CP_ON 00001FFF
_DATA_CP_OFF 00003FFF
_DATA_CP_ON 00003EFF
_EEADR 00000000
_EECON1 00000000
_EECON1_bits 00000000
_EECON2 00000000
_EEDATA 00000000
_ER_OSC_CLKOUT 00003FFF
_ER_OSC_NOCLKOUT 00003FFE
_EXTCLK_OSC 00003FEF
_FSR 00000000
_HS_OSC 00003FEE
_INDF 00000000
_INTCON 00000000
_INTCON_bits 00000000
_INTOSC_OSC_CLKOUT 00003FFD
_INTOSC_OSC_NOCLKOUT 00003FFC
_INTRC_OSC_CLKOUT 00003FFD
_INTRC_OSC_NOCLKOUT 00003FFC
_LEDon 00000000
_LP_OSC 00003FEC
_LVP_OFF 00003F7F
_LVP_ON 00003FFF
_MCLRE_OFF 00003FDF
_MCLRE_ON 00003FFF
_OPTION_REG 00000000
_OPTION_REG_bits 00000000
_PCL 00000000
_PCLATH 00000000
_PCON 00000000
_PCON_bits 00000000
_PIE1 00000000
_PIE1_bits 00000000
_PIR1 00000000
_PIR1_bits 00000000
_PORTA 00000000
_PORTA_bits 00000000
_PORTB 00000000
_PORTB_bits 00000000
_PR2 00000000
_PWMPeriod 00000000
_PWRTE_OFF 00003FFF
_PWRTE_ON 00003FF7
_RCREG 00000000
_RCSTA 00000000
_RCSTA_bits 00000000
_RC_OSC_CLKOUT 00003FFF
_RC_OSC_NOCLKOUT 00003FFE
_SPBRG 00000000
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 14
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
_STATUS 00000000
_STATUS_bits 00000000
_T1CON 00000000
_T1CON_bits 00000000
_T2CON 00000000
_T2CON_bits 00000000
_TMR0 00000000
_TMR1H 00000000
_TMR1L 00000000
_TMR2 00000000
_TRISA 00000000
_TRISA_bits 00000000
_TRISB 00000000
_TRISB_bits 00000000
_TXREG 00000000
_TXSTA 00000000
_TXSTA_bits 00000000
_VRCON 00000000
_VRCON_bits 00000000
_WDT_OFF 00003FFB
_WDT_ON 00003FFF
_XT_OSC 00003FED
__16F648A 00000001
___sdcc_saved_fsr 00000000
__sdcc_gsinit_startup 00000000
__sdcc_interrupt 00000004
_buffer 00000000
_c_interrupt_000011 00000011
_c_interrupt_000018 00000018
_c_interrupt_00001f 0000001F
_checkTemperature 00000000
_clearwdt 00000000
_code_extruder1_000002 00000002
_code_extruder1_000006 00000006
_code_extruder1_00000d 0000000D
_code_extruder1_000013 00000013
_code_extruder1_00001c 0000001C
_code_extruder1_00001f 0000001F
_code_extruder1_000022 00000022
_code_extruder1_000025 00000025
_code_extruder1_000028 00000028
_delay_10us 00000000
_deviceAddress 00000000
_endMessage 00000000
_endMessageISR 00000000
_flashLED 00000000
_init1 0000002B
_init2 00000000
_isr 00000004
_main 00000000
_motorTick 00000000
_packetReady 00000000
_processCommand 00000000
_releaseLock 00000000
gpasm-0.13.4 beta extruder1-extruder1.asm6-13-2008 14:34:04 PAGE 15
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
_sendDataByte 00000000
_sendDataByteISR 00000000
_sendMessage 00000000
_sendMessageISR 00000000
_sendReply 00000000
_serialInterruptHandler 00000000
_serialStatus 00000000
_serial_init 00000000
_setFlash 00000000
_timerTick 00000000
_uartNotifyReceive 00000000
_uartTransmit 00000000
r0x1002 00000000
Errors : 0
Warnings : 0 reported, 0 suppressed
Messages : 0 reported, 0 suppressed
|