-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcc1111usb.lst
4057 lines (4057 loc) · 252 KB
/
cc1111usb.lst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1 ;--------------------------------------------------------
2 ; File Created by SDCC : free open source ANSI-C Compiler
3 ; Version 3.4.0 #8981 (Oct 10 2014) (Mac OS X x86_64)
4 ; This file was generated Thu May 7 19:29:13 2015
5 ;--------------------------------------------------------
6 .module cc1111usb
7 .optsdcc -mmcs51 --model-small
8
9 ;--------------------------------------------------------
10 ; Public variables in this module
11 ;--------------------------------------------------------
12 .globl _usbGetDescriptorPrimitive_PARM_2
13 .globl _handleOUTEP5
14 .globl _handleCS0
15 .globl _usbGetDescriptor
16 .globl _usbGetDescriptorPrimitive
17 .globl _usbSetConfiguration
18 .globl _usbGetConfiguration
19 .globl _setup_recv_ep0
20 .globl _usb_arm_ep0IN
21 .globl _usb_init
22 .globl _transmit
23 .globl _RxOn
24 .globl _setRFIdle
25 .globl _appHandleEP5
26 .globl _appHandleEP0
27 .globl _appHandleEP0OUTdone
28 .globl _blink_binary_baby_lsb
29 .globl _sleepMillis
30 .globl _debugEP0Req
31 .globl _USBIF
32 .globl _MODE
33 .globl _RE
34 .globl _SLAVE
35 .globl _FE
36 .globl _ERR
37 .globl _RX_BYTE
38 .globl _TX_BYTE
39 .globl _ACTIVE
40 .globl _B_7
41 .globl _B_6
42 .globl _B_5
43 .globl _B_4
44 .globl _B_3
45 .globl _B_2
46 .globl _B_1
47 .globl _B_0
48 .globl _WDTIF
49 .globl _P1IF
50 .globl _UTX1IF
51 .globl _UTX0IF
52 .globl _P2IF
53 .globl _ACC_7
54 .globl _ACC_6
55 .globl _ACC_5
56 .globl _ACC_4
57 .globl _ACC_3
58 .globl _ACC_2
59 .globl _ACC_1
60 .globl _ACC_0
61 .globl _OVFIM
62 .globl _T4CH1IF
63 .globl _T4CH0IF
64 .globl _T4OVFIF
65 .globl _T3CH1IF
66 .globl _T3CH0IF
67 .globl _T3OVFIF
68 .globl _CY
69 .globl _AC
70 .globl _F0
71 .globl _RS1
72 .globl _RS0
73 .globl _OV
74 .globl _F1
75 .globl _P
76 .globl _STIF
77 .globl _P0IF
78 .globl _T4IF
79 .globl _T3IF
80 .globl _T2IF
81 .globl _T1IF
82 .globl _DMAIF
83 .globl _P0IE
84 .globl _T4IE
85 .globl _T3IE
86 .globl _T2IE
87 .globl _T1IE
88 .globl _DMAIE
89 .globl _EA
90 .globl _STIE
91 .globl _ENCIE
92 .globl _URX1IE
93 .globl _URX0IE
94 .globl _ADCIE
95 .globl _RFTXRXIE
96 .globl _P2_7
97 .globl _P2_6
98 .globl _P2_5
99 .globl _P2_4
100 .globl _P2_3
101 .globl _P2_2
102 .globl _P2_1
103 .globl _P2_0
104 .globl _ENCIF_1
105 .globl _ENCIF_0
106 .globl _P1_7
107 .globl _P1_6
108 .globl _P1_5
109 .globl _P1_4
110 .globl _P1_3
111 .globl _P1_2
112 .globl _P1_1
113 .globl _P1_0
114 .globl _URX1IF
115 .globl _ADCIF
116 .globl _URX0IF
117 .globl _IT1
118 .globl _RFTXRXIF
119 .globl _IT0
120 .globl _P0_7
121 .globl _P0_6
122 .globl _P0_5
123 .globl _P0_4
124 .globl _P0_3
125 .globl _P0_2
126 .globl _P0_1
127 .globl _P0_0
128 .globl _P2DIR
129 .globl _P1DIR
130 .globl _P0DIR
131 .globl _U1GCR
132 .globl _U1UCR
133 .globl _U1BAUD
134 .globl _U1DBUF
135 .globl _U1CSR
136 .globl _P2INP
137 .globl _P1INP
138 .globl _P2SEL
139 .globl _P1SEL
140 .globl _P0SEL
141 .globl _ADCCFG
142 .globl _PERCFG
143 .globl _B
144 .globl _T4CC1
145 .globl _T4CCTL1
146 .globl _T4CC0
147 .globl _T4CCTL0
148 .globl _T4CTL
149 .globl _T4CNT
150 .globl _RFIF
151 .globl _IRCON2
152 .globl _T1CCTL2
153 .globl _T1CCTL1
154 .globl _T1CCTL0
155 .globl _T1CTL
156 .globl _T1CNTH
157 .globl _T1CNTL
158 .globl _RFST
159 .globl _ACC
160 .globl _T1CC2H
161 .globl _T1CC2L
162 .globl _T1CC1H
163 .globl _T1CC1L
164 .globl _T1CC0H
165 .globl _T1CC0L
166 .globl _RFD
167 .globl _TIMIF
168 .globl _DMAREQ
169 .globl _DMAARM
170 .globl _DMA0CFGH
171 .globl _DMA0CFGL
172 .globl _DMA1CFGH
173 .globl _DMA1CFGL
174 .globl _DMAIRQ
175 .globl _PSW
176 .globl _T3CC1
177 .globl _T3CCTL1
178 .globl _T3CC0
179 .globl _T3CCTL0
180 .globl _T3CTL
181 .globl _T3CNT
182 .globl _WDCTL
183 .globl __SFRC8
184 .globl _MEMCTR
185 .globl _CLKCON
186 .globl _U0GCR
187 .globl _U0UCR
188 .globl __SFRC3
189 .globl _U0BAUD
190 .globl _U0DBUF
191 .globl _IRCON
192 .globl __SFRBF
193 .globl _SLEEP
194 .globl _RNDH
195 .globl _RNDL
196 .globl _ADCH
197 .globl _ADCL
198 .globl _IP1
199 .globl _IEN1
200 .globl __SFRB7
201 .globl _ADCCON3
202 .globl _ADCCON2
203 .globl _ADCCON1
204 .globl _ENCCS
205 .globl _ENCDO
206 .globl _ENCDI
207 .globl __SFRB0
208 .globl _FWDATA
209 .globl _FCTL
210 .globl _FADDRH
211 .globl _FADDRL
212 .globl _FWT
213 .globl __SFRAA
214 .globl _IP0
215 .globl _IEN0
216 .globl __SFRA7
217 .globl _WORTIME1
218 .globl _WORTIME0
219 .globl _WOREVT1
220 .globl _WOREVT0
221 .globl _WORCTRL
222 .globl _WORIRQ
223 .globl _P2
224 .globl __SFR9F
225 .globl _T2CTL
226 .globl _T2PR
227 .globl _T2CT
228 .globl _S1CON
229 .globl _IEN2
230 .globl __SFR99
231 .globl _S0CON
232 .globl __SFR97
233 .globl __SFR96
234 .globl __SFR95
235 .globl __SFR94
236 .globl __XPAGE
237 .globl _MPAGE
238 .globl _DPS
239 .globl _RFIM
240 .globl _P1
241 .globl _P0INP
242 .globl __SFR8E
243 .globl _P1IEN
244 .globl _PICTL
245 .globl _P2IFG
246 .globl _P1IFG
247 .globl _P0IFG
248 .globl _TCON
249 .globl _PCON
250 .globl _U0CSR
251 .globl _DPH1
252 .globl _DPL1
253 .globl _DPH0
254 .globl _DPL0
255 .globl _SP
256 .globl _P0
257 .globl _usbdma
258 .globl _appstatus
259 .globl _ep5iobuf
260 .globl _ep0iobuf
261 .globl _usb_ep5_OUTbuf
262 .globl _usb_ep0_OUTbuf
263 .globl _USBFIFO
264 .globl _USBF5
265 .globl _USBF4
266 .globl _USBF3
267 .globl _USBF2
268 .globl _USBF1
269 .globl _USBF0
270 .globl _USBCNTH
271 .globl _USBCNTL
272 .globl _USBCNT0
273 .globl _USBCSOH
274 .globl _USBCSOL
275 .globl _USBMAXO
276 .globl _USBCSIH
277 .globl _USBCSIL
278 .globl _USBCS0
279 .globl _USBMAXI
280 .globl _USBINDEX
281 .globl _USBFRMH
282 .globl _USBFRML
283 .globl _USBCIE
284 .globl _USBOIE
285 .globl _USBIIE
286 .globl _USBCIF
287 .globl _USBOIF
288 .globl _USBIIF
289 .globl _USBPOW
290 .globl _USBADDR
291 .globl _X_P2DIR
292 .globl _X_P1DIR
293 .globl _X_P0DIR
294 .globl _X_U1GCR
295 .globl _X_U1UCR
296 .globl _X_U1BAUD
297 .globl _X_U1DBUF
298 .globl _X_U1CSR
299 .globl _X_P2INP
300 .globl _X_P1INP
301 .globl _X_P2SEL
302 .globl _X_P1SEL
303 .globl _X_P0SEL
304 .globl _X_ADCCFG
305 .globl _X_PERCFG
306 .globl __NA_B
307 .globl _X_T4CC1
308 .globl _X_T4CCTL1
309 .globl _X_T4CC0
310 .globl _X_T4CCTL0
311 .globl _X_T4CTL
312 .globl _X_T4CNT
313 .globl _X_RFIF
314 .globl __NA_IRCON2
315 .globl _X_T1CCTL2
316 .globl _X_T1CCTL1
317 .globl _X_T1CCTL0
318 .globl _X_T1CTL
319 .globl _X_T1CNTH
320 .globl _X_T1CNTL
321 .globl _X_RFST
322 .globl __NA_ACC
323 .globl _X_T1CC2H
324 .globl _X_T1CC2L
325 .globl _X_T1CC1H
326 .globl _X_T1CC1L
327 .globl _X_T1CC0H
328 .globl _X_T1CC0L
329 .globl _X_RFD
330 .globl _X_TIMIF
331 .globl _X_DMAREQ
332 .globl _X_DMAARM
333 .globl _X_DMA0CFGH
334 .globl _X_DMA0CFGL
335 .globl _X_DMA1CFGH
336 .globl _X_DMA1CFGL
337 .globl _X_DMAIRQ
338 .globl __NA_PSW
339 .globl _X_T3CC1
340 .globl _X_T3CCTL1
341 .globl _X_T3CC0
342 .globl _X_T3CCTL0
343 .globl _X_T3CTL
344 .globl _X_T3CNT
345 .globl _X_WDCTL
346 .globl __X_SFRC8
347 .globl _X_MEMCTR
348 .globl _X_CLKCON
349 .globl _X_U0GCR
350 .globl _X_U0UCR
351 .globl __X_SFRC3
352 .globl _X_U0BAUD
353 .globl _X_U0DBUF
354 .globl __NA_IRCON
355 .globl __X_SFRBF
356 .globl _X_SLEEP
357 .globl _X_RNDH
358 .globl _X_RNDL
359 .globl _X_ADCH
360 .globl _X_ADCL
361 .globl __NA_IP1
362 .globl __NA_IEN1
363 .globl __X_SFRB7
364 .globl _X_ADCCON3
365 .globl _X_ADCCON2
366 .globl _X_ADCCON1
367 .globl _X_ENCCS
368 .globl _X_ENCDO
369 .globl _X_ENCDI
370 .globl __X_SFRB0
371 .globl _X_FWDATA
372 .globl _X_FCTL
373 .globl _X_FADDRH
374 .globl _X_FADDRL
375 .globl _X_FWT
376 .globl __X_SFRAA
377 .globl __NA_IP0
378 .globl __NA_IEN0
379 .globl __X_SFRA7
380 .globl _X_WORTIME1
381 .globl _X_WORTIME0
382 .globl _X_WOREVT1
383 .globl _X_WOREVT0
384 .globl _X_WORCTRL
385 .globl _X_WORIRQ
386 .globl __NA_P2
387 .globl __X_SFR9F
388 .globl _X_T2CTL
389 .globl _X_T2PR
390 .globl _X_T2CT
391 .globl __NA_S1CON
392 .globl __NA_IEN2
393 .globl __X_SFR99
394 .globl __NA_S0CON
395 .globl __X_SFR97
396 .globl __X_SFR96
397 .globl __X_SFR95
398 .globl __X_SFR94
399 .globl _X_MPAGE
400 .globl __NA_DPS
401 .globl _X_RFIM
402 .globl __NA_P1
403 .globl _X_P0INP
404 .globl __X_SFR8E
405 .globl _X_P1IEN
406 .globl _X_PICTL
407 .globl _X_P2IFG
408 .globl _X_P1IFG
409 .globl _X_P0IFG
410 .globl __NA_TCON
411 .globl __NA_PCON
412 .globl _X_U0CSR
413 .globl __NA_DPH1
414 .globl __NA_DPL1
415 .globl __NA_DPH0
416 .globl __NA_DPL0
417 .globl __NA_SP
418 .globl __NA_P0
419 .globl _I2SCLKF2
420 .globl _I2SCLKF1
421 .globl _I2SCLKF0
422 .globl _I2SSTAT
423 .globl _I2SWCNT
424 .globl _I2SDATH
425 .globl _I2SDATL
426 .globl _I2SCFG1
427 .globl _I2SCFG0
428 .globl _VCO_VC_DAC
429 .globl _PKTSTATUS
430 .globl _MARCSTATE
431 .globl _RSSI
432 .globl _LQI
433 .globl _FREQEST
434 .globl _VERSION
435 .globl _PARTNUM
436 .globl __XREGDF35
437 .globl __XREGDF34
438 .globl __XREGDF33
439 .globl __XREGDF32
440 .globl _IOCFG0
441 .globl _IOCFG1
442 .globl _IOCFG2
443 .globl _PA_TABLE0
444 .globl _PA_TABLE1
445 .globl _PA_TABLE2
446 .globl _PA_TABLE3
447 .globl _PA_TABLE4
448 .globl _PA_TABLE5
449 .globl _PA_TABLE6
450 .globl _PA_TABLE7
451 .globl __XREGDF26
452 .globl _TEST0
453 .globl _TEST1
454 .globl _TEST2
455 .globl __XREGDF22
456 .globl __XREGDF21
457 .globl __XREGDF20
458 .globl _FSCAL0
459 .globl _FSCAL1
460 .globl _FSCAL2
461 .globl _FSCAL3
462 .globl _FREND0
463 .globl _FREND1
464 .globl _AGCCTRL0
465 .globl _AGCCTRL1
466 .globl _AGCCTRL2
467 .globl _BSCFG
468 .globl _FOCCFG
469 .globl _MCSM0
470 .globl _MCSM1
471 .globl _MCSM2
472 .globl _DEVIATN
473 .globl _MDMCFG0
474 .globl _MDMCFG1
475 .globl _MDMCFG2
476 .globl _MDMCFG3
477 .globl _MDMCFG4
478 .globl _FREQ0
479 .globl _FREQ1
480 .globl _FREQ2
481 .globl _FSCTRL0
482 .globl _FSCTRL1
483 .globl _CHANNR
484 .globl _ADDR
485 .globl _PKTCTRL0
486 .globl _PKTCTRL1
487 .globl _PKTLEN
488 .globl _SYNC0
489 .globl _SYNC1
490 .globl _MDMCTRL0H
491 .globl _setup_sendx_ep0_PARM_2
492 .globl _setup_send_ep0_PARM_2
493 .globl _txdata_PARM_4
494 .globl _txdata_PARM_3
495 .globl _txdata_PARM_2
496 .globl _txdataold_PARM_4
497 .globl _txdataold_PARM_3
498 .globl _txdataold_PARM_2
499 .globl _usb_data
500 .globl _txdataold
501 .globl _txdata
502 .globl _waitForUSBsetup
503 .globl _initUSB
504 .globl _usb_up
505 .globl _usb_down
506 .globl _setup_send_ep0
507 .globl _setup_sendx_ep0
508 .globl _usb_recv_ep0OUT
509 .globl _usbProcessEvents
510 .globl _usbIntHandler
511 .globl _p0IntHandler
512 .globl _USBDESCBEGIN
513 ;--------------------------------------------------------
514 ; special function registers
515 ;--------------------------------------------------------
516 .area RSEG (ABS,DATA)
000000 517 .org 0x0000
000080 518 _P0 = 0x0080
000081 519 _SP = 0x0081
000082 520 _DPL0 = 0x0082
000083 521 _DPH0 = 0x0083
000084 522 _DPL1 = 0x0084
000085 523 _DPH1 = 0x0085
000086 524 _U0CSR = 0x0086
000087 525 _PCON = 0x0087
000088 526 _TCON = 0x0088
000089 527 _P0IFG = 0x0089
00008A 528 _P1IFG = 0x008a
00008B 529 _P2IFG = 0x008b
00008C 530 _PICTL = 0x008c
00008D 531 _P1IEN = 0x008d
00008E 532 __SFR8E = 0x008e
00008F 533 _P0INP = 0x008f
000090 534 _P1 = 0x0090
000091 535 _RFIM = 0x0091
000092 536 _DPS = 0x0092
000093 537 _MPAGE = 0x0093
000093 538 __XPAGE = 0x0093
000094 539 __SFR94 = 0x0094
000095 540 __SFR95 = 0x0095
000096 541 __SFR96 = 0x0096
000097 542 __SFR97 = 0x0097
000098 543 _S0CON = 0x0098
000099 544 __SFR99 = 0x0099
00009A 545 _IEN2 = 0x009a
00009B 546 _S1CON = 0x009b
00009C 547 _T2CT = 0x009c
00009D 548 _T2PR = 0x009d
00009E 549 _T2CTL = 0x009e
00009F 550 __SFR9F = 0x009f
0000A0 551 _P2 = 0x00a0
0000A1 552 _WORIRQ = 0x00a1
0000A2 553 _WORCTRL = 0x00a2
0000A3 554 _WOREVT0 = 0x00a3
0000A4 555 _WOREVT1 = 0x00a4
0000A5 556 _WORTIME0 = 0x00a5
0000A6 557 _WORTIME1 = 0x00a6
0000A7 558 __SFRA7 = 0x00a7
0000A8 559 _IEN0 = 0x00a8
0000A9 560 _IP0 = 0x00a9
0000AA 561 __SFRAA = 0x00aa
0000AB 562 _FWT = 0x00ab
0000AC 563 _FADDRL = 0x00ac
0000AD 564 _FADDRH = 0x00ad
0000AE 565 _FCTL = 0x00ae
0000AF 566 _FWDATA = 0x00af
0000B0 567 __SFRB0 = 0x00b0
0000B1 568 _ENCDI = 0x00b1
0000B2 569 _ENCDO = 0x00b2
0000B3 570 _ENCCS = 0x00b3
0000B4 571 _ADCCON1 = 0x00b4
0000B5 572 _ADCCON2 = 0x00b5
0000B6 573 _ADCCON3 = 0x00b6
0000B7 574 __SFRB7 = 0x00b7
0000B8 575 _IEN1 = 0x00b8
0000B9 576 _IP1 = 0x00b9
0000BA 577 _ADCL = 0x00ba
0000BB 578 _ADCH = 0x00bb
0000BC 579 _RNDL = 0x00bc
0000BD 580 _RNDH = 0x00bd
0000BE 581 _SLEEP = 0x00be
0000BF 582 __SFRBF = 0x00bf
0000C0 583 _IRCON = 0x00c0
0000C1 584 _U0DBUF = 0x00c1
0000C2 585 _U0BAUD = 0x00c2
0000C3 586 __SFRC3 = 0x00c3
0000C4 587 _U0UCR = 0x00c4
0000C5 588 _U0GCR = 0x00c5
0000C6 589 _CLKCON = 0x00c6
0000C7 590 _MEMCTR = 0x00c7
0000C8 591 __SFRC8 = 0x00c8
0000C9 592 _WDCTL = 0x00c9
0000CA 593 _T3CNT = 0x00ca
0000CB 594 _T3CTL = 0x00cb
0000CC 595 _T3CCTL0 = 0x00cc
0000CD 596 _T3CC0 = 0x00cd
0000CE 597 _T3CCTL1 = 0x00ce
0000CF 598 _T3CC1 = 0x00cf
0000D0 599 _PSW = 0x00d0
0000D1 600 _DMAIRQ = 0x00d1
0000D2 601 _DMA1CFGL = 0x00d2
0000D3 602 _DMA1CFGH = 0x00d3
0000D4 603 _DMA0CFGL = 0x00d4
0000D5 604 _DMA0CFGH = 0x00d5
0000D6 605 _DMAARM = 0x00d6
0000D7 606 _DMAREQ = 0x00d7
0000D8 607 _TIMIF = 0x00d8
0000D9 608 _RFD = 0x00d9
0000DA 609 _T1CC0L = 0x00da
0000DB 610 _T1CC0H = 0x00db
0000DC 611 _T1CC1L = 0x00dc
0000DD 612 _T1CC1H = 0x00dd
0000DE 613 _T1CC2L = 0x00de
0000DF 614 _T1CC2H = 0x00df
0000E0 615 _ACC = 0x00e0
0000E1 616 _RFST = 0x00e1
0000E2 617 _T1CNTL = 0x00e2
0000E3 618 _T1CNTH = 0x00e3
0000E4 619 _T1CTL = 0x00e4
0000E5 620 _T1CCTL0 = 0x00e5
0000E6 621 _T1CCTL1 = 0x00e6
0000E7 622 _T1CCTL2 = 0x00e7
0000E8 623 _IRCON2 = 0x00e8
0000E9 624 _RFIF = 0x00e9
0000EA 625 _T4CNT = 0x00ea
0000EB 626 _T4CTL = 0x00eb
0000EC 627 _T4CCTL0 = 0x00ec
0000ED 628 _T4CC0 = 0x00ed
0000EE 629 _T4CCTL1 = 0x00ee
0000EF 630 _T4CC1 = 0x00ef
0000F0 631 _B = 0x00f0
0000F1 632 _PERCFG = 0x00f1
0000F2 633 _ADCCFG = 0x00f2
0000F3 634 _P0SEL = 0x00f3
0000F4 635 _P1SEL = 0x00f4
0000F5 636 _P2SEL = 0x00f5
0000F6 637 _P1INP = 0x00f6
0000F7 638 _P2INP = 0x00f7
0000F8 639 _U1CSR = 0x00f8
0000F9 640 _U1DBUF = 0x00f9
0000FA 641 _U1BAUD = 0x00fa
0000FB 642 _U1UCR = 0x00fb
0000FC 643 _U1GCR = 0x00fc
0000FD 644 _P0DIR = 0x00fd
0000FE 645 _P1DIR = 0x00fe
0000FF 646 _P2DIR = 0x00ff
647 ;--------------------------------------------------------
648 ; special function bits
649 ;--------------------------------------------------------
650 .area RSEG (ABS,DATA)
000000 651 .org 0x0000
000080 652 _P0_0 = 0x0080
000081 653 _P0_1 = 0x0081
000082 654 _P0_2 = 0x0082
000083 655 _P0_3 = 0x0083
000084 656 _P0_4 = 0x0084
000085 657 _P0_5 = 0x0085
000086 658 _P0_6 = 0x0086
000087 659 _P0_7 = 0x0087
000088 660 _IT0 = 0x0088
000089 661 _RFTXRXIF = 0x0089
00008A 662 _IT1 = 0x008a
00008B 663 _URX0IF = 0x008b
00008D 664 _ADCIF = 0x008d
00008F 665 _URX1IF = 0x008f
000090 666 _P1_0 = 0x0090
000091 667 _P1_1 = 0x0091
000092 668 _P1_2 = 0x0092
000093 669 _P1_3 = 0x0093
000094 670 _P1_4 = 0x0094
000095 671 _P1_5 = 0x0095
000096 672 _P1_6 = 0x0096
000097 673 _P1_7 = 0x0097
000098 674 _ENCIF_0 = 0x0098
000099 675 _ENCIF_1 = 0x0099
0000A0 676 _P2_0 = 0x00a0
0000A1 677 _P2_1 = 0x00a1
0000A2 678 _P2_2 = 0x00a2
0000A3 679 _P2_3 = 0x00a3
0000A4 680 _P2_4 = 0x00a4
0000A5 681 _P2_5 = 0x00a5
0000A6 682 _P2_6 = 0x00a6
0000A7 683 _P2_7 = 0x00a7
0000A8 684 _RFTXRXIE = 0x00a8
0000A9 685 _ADCIE = 0x00a9
0000AA 686 _URX0IE = 0x00aa
0000AB 687 _URX1IE = 0x00ab
0000AC 688 _ENCIE = 0x00ac
0000AD 689 _STIE = 0x00ad
0000AF 690 _EA = 0x00af
0000B8 691 _DMAIE = 0x00b8
0000B9 692 _T1IE = 0x00b9
0000BA 693 _T2IE = 0x00ba
0000BB 694 _T3IE = 0x00bb
0000BC 695 _T4IE = 0x00bc
0000BD 696 _P0IE = 0x00bd
0000C0 697 _DMAIF = 0x00c0
0000C1 698 _T1IF = 0x00c1
0000C2 699 _T2IF = 0x00c2
0000C3 700 _T3IF = 0x00c3
0000C4 701 _T4IF = 0x00c4
0000C5 702 _P0IF = 0x00c5
0000C7 703 _STIF = 0x00c7
0000D0 704 _P = 0x00d0
0000D1 705 _F1 = 0x00d1
0000D2 706 _OV = 0x00d2
0000D3 707 _RS0 = 0x00d3
0000D4 708 _RS1 = 0x00d4
0000D5 709 _F0 = 0x00d5
0000D6 710 _AC = 0x00d6
0000D7 711 _CY = 0x00d7
0000D8 712 _T3OVFIF = 0x00d8
0000D9 713 _T3CH0IF = 0x00d9
0000DA 714 _T3CH1IF = 0x00da
0000DB 715 _T4OVFIF = 0x00db
0000DC 716 _T4CH0IF = 0x00dc
0000DD 717 _T4CH1IF = 0x00dd
0000DE 718 _OVFIM = 0x00de
0000E0 719 _ACC_0 = 0x00e0
0000E1 720 _ACC_1 = 0x00e1
0000E2 721 _ACC_2 = 0x00e2
0000E3 722 _ACC_3 = 0x00e3
0000E4 723 _ACC_4 = 0x00e4
0000E5 724 _ACC_5 = 0x00e5
0000E6 725 _ACC_6 = 0x00e6
0000E7 726 _ACC_7 = 0x00e7
0000E8 727 _P2IF = 0x00e8
0000E9 728 _UTX0IF = 0x00e9
0000EA 729 _UTX1IF = 0x00ea
0000EB 730 _P1IF = 0x00eb
0000EC 731 _WDTIF = 0x00ec
0000F0 732 _B_0 = 0x00f0
0000F1 733 _B_1 = 0x00f1
0000F2 734 _B_2 = 0x00f2
0000F3 735 _B_3 = 0x00f3
0000F4 736 _B_4 = 0x00f4
0000F5 737 _B_5 = 0x00f5
0000F6 738 _B_6 = 0x00f6
0000F7 739 _B_7 = 0x00f7
0000F8 740 _ACTIVE = 0x00f8
0000F9 741 _TX_BYTE = 0x00f9
0000FA 742 _RX_BYTE = 0x00fa
0000FB 743 _ERR = 0x00fb
0000FC 744 _FE = 0x00fc
0000FD 745 _SLAVE = 0x00fd
0000FE 746 _RE = 0x00fe
0000FF 747 _MODE = 0x00ff
0000E8 748 _USBIF = 0x00e8
749 ;--------------------------------------------------------
750 ; overlayable register banks
751 ;--------------------------------------------------------
752 .area REG_BANK_0 (REL,OVR,DATA)
000000 753 .ds 8
754 ;--------------------------------------------------------
755 ; internal ram data
756 ;--------------------------------------------------------
757 .area DSEG (DATA)
000000 758 _usb_data::
000000 759 .ds 4
000004 760 _txdataold_PARM_2:
000004 761 .ds 1
000005 762 _txdataold_PARM_3:
000005 763 .ds 2
000007 764 _txdataold_PARM_4:
000007 765 .ds 3
00000A 766 _txdata_PARM_2:
00000A 767 .ds 1
00000B 768 _txdata_PARM_3:
00000B 769 .ds 2
00000D 770 _txdata_PARM_4:
00000D 771 .ds 2
00000F 772 _setup_send_ep0_PARM_2:
00000F 773 .ds 2
000011 774 _setup_sendx_ep0_PARM_2:
000011 775 .ds 2
000013 776 _usbGetDescriptor_pReq_1_89:
000013 777 .ds 3
000016 778 _usbGetDescriptor_buffer_1_90:
000016 779 .ds 3
000019 780 _usbGetDescriptor_length_1_90:
000019 781 .ds 2
00001B 782 _usbGetDescriptor_sloc0_1_0:
00001B 783 .ds 2
00001D 784 _usbGetDescriptor_sloc1_1_0:
00001D 785 .ds 3
000020 786 _handleCS0_req_1_95:
000020 787 .ds 8
000028 788 _handleCS0_val_1_95:
000028 789 .ds 2
00002A 790 _handleOUTEP5_loop_1_125:
00002A 791 .ds 2
00002C 792 _handleOUTEP5_len_1_125:
00002C 793 .ds 2
00002E 794 _handleOUTEP5_cmd_1_125:
00002E 795 .ds 1
00002F 796 _handleOUTEP5_app_1_125:
00002F 797 .ds 1
000030 798 _handleOUTEP5_dptr_1_125:
000030 799 .ds 2
000032 800 _handleOUTEP5_sloc0_1_0:
000032 801 .ds 3
802 ;--------------------------------------------------------
803 ; overlayable items in internal ram
804 ;--------------------------------------------------------
805 .area OSEG (OVR,DATA)
806 .area OSEG (OVR,DATA)
807 .area OSEG (OVR,DATA)
000000 808 _usbGetDescriptorPrimitive_PARM_2:
000000 809 .ds 1
000001 810 _usbGetDescriptorPrimitive_wantedType_1_82:
000001 811 .ds 1
812 ;--------------------------------------------------------
813 ; indirectly addressable internal ram data
814 ;--------------------------------------------------------
815 .area ISEG (DATA)
816 ;--------------------------------------------------------
817 ; absolute internal ram data
818 ;--------------------------------------------------------
819 .area IABS (ABS,DATA)
820 .area IABS (ABS,DATA)
821 ;--------------------------------------------------------
822 ; bit data
823 ;--------------------------------------------------------
824 .area BSEG (BIT)
825 ;--------------------------------------------------------
826 ; paged external ram data
827 ;--------------------------------------------------------
828 .area PSEG (PAG,XDATA)
829 ;--------------------------------------------------------
830 ; external ram data
831 ;--------------------------------------------------------
832 .area XSEG (XDATA)
00DF02 833 _MDMCTRL0H = 0xdf02
00DF00 834 _SYNC1 = 0xdf00
00DF01 835 _SYNC0 = 0xdf01
00DF02 836 _PKTLEN = 0xdf02
00DF03 837 _PKTCTRL1 = 0xdf03
00DF04 838 _PKTCTRL0 = 0xdf04
00DF05 839 _ADDR = 0xdf05
00DF06 840 _CHANNR = 0xdf06
00DF07 841 _FSCTRL1 = 0xdf07
00DF08 842 _FSCTRL0 = 0xdf08
00DF09 843 _FREQ2 = 0xdf09
00DF0A 844 _FREQ1 = 0xdf0a
00DF0B 845 _FREQ0 = 0xdf0b
00DF0C 846 _MDMCFG4 = 0xdf0c
00DF0D 847 _MDMCFG3 = 0xdf0d
00DF0E 848 _MDMCFG2 = 0xdf0e
00DF0F 849 _MDMCFG1 = 0xdf0f
00DF10 850 _MDMCFG0 = 0xdf10
00DF11 851 _DEVIATN = 0xdf11
00DF12 852 _MCSM2 = 0xdf12
00DF13 853 _MCSM1 = 0xdf13
00DF14 854 _MCSM0 = 0xdf14
00DF15 855 _FOCCFG = 0xdf15
00DF16 856 _BSCFG = 0xdf16
00DF17 857 _AGCCTRL2 = 0xdf17
00DF18 858 _AGCCTRL1 = 0xdf18
00DF19 859 _AGCCTRL0 = 0xdf19
00DF1A 860 _FREND1 = 0xdf1a
00DF1B 861 _FREND0 = 0xdf1b
00DF1C 862 _FSCAL3 = 0xdf1c
00DF1D 863 _FSCAL2 = 0xdf1d
00DF1E 864 _FSCAL1 = 0xdf1e
00DF1F 865 _FSCAL0 = 0xdf1f
00DF20 866 __XREGDF20 = 0xdf20
00DF21 867 __XREGDF21 = 0xdf21
00DF22 868 __XREGDF22 = 0xdf22
00DF23 869 _TEST2 = 0xdf23
00DF24 870 _TEST1 = 0xdf24
00DF25 871 _TEST0 = 0xdf25
00DF26 872 __XREGDF26 = 0xdf26
00DF27 873 _PA_TABLE7 = 0xdf27
00DF28 874 _PA_TABLE6 = 0xdf28
00DF29 875 _PA_TABLE5 = 0xdf29
00DF2A 876 _PA_TABLE4 = 0xdf2a
00DF2B 877 _PA_TABLE3 = 0xdf2b
00DF2C 878 _PA_TABLE2 = 0xdf2c
00DF2D 879 _PA_TABLE1 = 0xdf2d
00DF2E 880 _PA_TABLE0 = 0xdf2e
00DF2F 881 _IOCFG2 = 0xdf2f
00DF30 882 _IOCFG1 = 0xdf30
00DF31 883 _IOCFG0 = 0xdf31
00DF32 884 __XREGDF32 = 0xdf32
00DF33 885 __XREGDF33 = 0xdf33
00DF34 886 __XREGDF34 = 0xdf34
00DF35 887 __XREGDF35 = 0xdf35
00DF36 888 _PARTNUM = 0xdf36
00DF37 889 _VERSION = 0xdf37
00DF38 890 _FREQEST = 0xdf38
00DF39 891 _LQI = 0xdf39
00DF3A 892 _RSSI = 0xdf3a
00DF3B 893 _MARCSTATE = 0xdf3b
00DF3C 894 _PKTSTATUS = 0xdf3c
00DF3D 895 _VCO_VC_DAC = 0xdf3d
00DF40 896 _I2SCFG0 = 0xdf40
00DF41 897 _I2SCFG1 = 0xdf41
00DF42 898 _I2SDATL = 0xdf42
00DF43 899 _I2SDATH = 0xdf43
00DF44 900 _I2SWCNT = 0xdf44
00DF45 901 _I2SSTAT = 0xdf45
00DF46 902 _I2SCLKF0 = 0xdf46
00DF47 903 _I2SCLKF1 = 0xdf47
00DF48 904 _I2SCLKF2 = 0xdf48
00DF80 905 __NA_P0 = 0xdf80
00DF81 906 __NA_SP = 0xdf81
00DF82 907 __NA_DPL0 = 0xdf82
00DF83 908 __NA_DPH0 = 0xdf83
00DF84 909 __NA_DPL1 = 0xdf84
00DF85 910 __NA_DPH1 = 0xdf85
00DF86 911 _X_U0CSR = 0xdf86
00DF87 912 __NA_PCON = 0xdf87
00DF88 913 __NA_TCON = 0xdf88
00DF89 914 _X_P0IFG = 0xdf89
00DF8A 915 _X_P1IFG = 0xdf8a
00DF8B 916 _X_P2IFG = 0xdf8b
00DF8C 917 _X_PICTL = 0xdf8c
00DF8D 918 _X_P1IEN = 0xdf8d
00DF8E 919 __X_SFR8E = 0xdf8e
00DF8F 920 _X_P0INP = 0xdf8f
00DF90 921 __NA_P1 = 0xdf90
00DF91 922 _X_RFIM = 0xdf91
00DF92 923 __NA_DPS = 0xdf92
00DF93 924 _X_MPAGE = 0xdf93
00DF94 925 __X_SFR94 = 0xdf94
00DF95 926 __X_SFR95 = 0xdf95
00DF96 927 __X_SFR96 = 0xdf96
00DF97 928 __X_SFR97 = 0xdf97
00DF98 929 __NA_S0CON = 0xdf98
00DF99 930 __X_SFR99 = 0xdf99
00DF9A 931 __NA_IEN2 = 0xdf9a
00DF9B 932 __NA_S1CON = 0xdf9b
00DF9C 933 _X_T2CT = 0xdf9c
00DF9D 934 _X_T2PR = 0xdf9d
00DF9E 935 _X_T2CTL = 0xdf9e
00DF9F 936 __X_SFR9F = 0xdf9f
00DFA0 937 __NA_P2 = 0xdfa0
00DFA1 938 _X_WORIRQ = 0xdfa1
00DFA2 939 _X_WORCTRL = 0xdfa2
00DFA3 940 _X_WOREVT0 = 0xdfa3
00DFA4 941 _X_WOREVT1 = 0xdfa4
00DFA5 942 _X_WORTIME0 = 0xdfa5
00DFA6 943 _X_WORTIME1 = 0xdfa6
00DFA7 944 __X_SFRA7 = 0xdfa7
00DFA8 945 __NA_IEN0 = 0xdfa8
00DFA9 946 __NA_IP0 = 0xdfa9
00DFAA 947 __X_SFRAA = 0xdfaa
00DFAB 948 _X_FWT = 0xdfab
00DFAC 949 _X_FADDRL = 0xdfac
00DFAD 950 _X_FADDRH = 0xdfad
00DFAE 951 _X_FCTL = 0xdfae
00DFAF 952 _X_FWDATA = 0xdfaf
00DFB0 953 __X_SFRB0 = 0xdfb0
00DFB1 954 _X_ENCDI = 0xdfb1
00DFB2 955 _X_ENCDO = 0xdfb2
00DFB3 956 _X_ENCCS = 0xdfb3
00DFB4 957 _X_ADCCON1 = 0xdfb4
00DFB5 958 _X_ADCCON2 = 0xdfb5
00DFB6 959 _X_ADCCON3 = 0xdfb6
00DFB7 960 __X_SFRB7 = 0xdfb7
00DFB8 961 __NA_IEN1 = 0xdfb8
00DFB9 962 __NA_IP1 = 0xdfb9
00DFBA 963 _X_ADCL = 0xdfba
00DFBB 964 _X_ADCH = 0xdfbb
00DFBC 965 _X_RNDL = 0xdfbc
00DFBD 966 _X_RNDH = 0xdfbd
00DFBE 967 _X_SLEEP = 0xdfbe
00DFBF 968 __X_SFRBF = 0xdfbf
00DFC0 969 __NA_IRCON = 0xdfc0
00DFC1 970 _X_U0DBUF = 0xdfc1
00DFC2 971 _X_U0BAUD = 0xdfc2
00DFC3 972 __X_SFRC3 = 0xdfc3
00DFC4 973 _X_U0UCR = 0xdfc4
00DFC5 974 _X_U0GCR = 0xdfc5
00DFC6 975 _X_CLKCON = 0xdfc6
00DFC7 976 _X_MEMCTR = 0xdfc7
00DFC8 977 __X_SFRC8 = 0xdfc8
00DFC9 978 _X_WDCTL = 0xdfc9
00DFCA 979 _X_T3CNT = 0xdfca
00DFCB 980 _X_T3CTL = 0xdfcb
00DFCC 981 _X_T3CCTL0 = 0xdfcc
00DFCD 982 _X_T3CC0 = 0xdfcd
00DFCE 983 _X_T3CCTL1 = 0xdfce
00DFCF 984 _X_T3CC1 = 0xdfcf
00DFD0 985 __NA_PSW = 0xdfd0
00DFD1 986 _X_DMAIRQ = 0xdfd1
00DFD2 987 _X_DMA1CFGL = 0xdfd2
00DFD3 988 _X_DMA1CFGH = 0xdfd3
00DFD4 989 _X_DMA0CFGL = 0xdfd4
00DFD5 990 _X_DMA0CFGH = 0xdfd5
00DFD6 991 _X_DMAARM = 0xdfd6
00DFD7 992 _X_DMAREQ = 0xdfd7
00DFD8 993 _X_TIMIF = 0xdfd8
00DFD9 994 _X_RFD = 0xdfd9
00DFDA 995 _X_T1CC0L = 0xdfda
00DFDB 996 _X_T1CC0H = 0xdfdb
00DFDC 997 _X_T1CC1L = 0xdfdc
00DFDD 998 _X_T1CC1H = 0xdfdd
00DFDE 999 _X_T1CC2L = 0xdfde
00DFDF 1000 _X_T1CC2H = 0xdfdf