1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-18 15:54:59 +00:00
gnss-sdr/firmware/GN3S_v2/lib/timer.lst
Javier Arribas b849b20a8c Added optional support for Sparkfun SiGe GN3S USB GPS RF sampler:
- Added a pre-compiled custom GN3S firmware.
- Added a fully-compliant GNU Radio source block for GN3S USB dongle. It can be used also from GNU Radio companion and from Python applications.
- Added a new GN3S_Signal_Source block. It is possible to disable the GN3S signal source compilation. See README.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@217 64b25241-fba3-4117-9849-534c7e92360d
2012-07-30 15:46:07 +00:00

771 lines
39 KiB
Plaintext

1 ;--------------------------------------------------------
2 ; File Created by SDCC : free open source ANSI-C Compiler
3 ; Version 2.9.0 #5416 (Feb 3 2010) (UNIX)
4 ; This file was generated Mon Jul 30 11:40:53 2012
5 ;--------------------------------------------------------
6 .module timer
7 .optsdcc -mmcs51 --model-small
8
9 ;--------------------------------------------------------
10 ; Public variables in this module
11 ;--------------------------------------------------------
12 .globl _EIPX6
13 .globl _EIPX5
14 .globl _EIPX4
15 .globl _PI2C
16 .globl _PUSB
17 .globl _EIEX6
18 .globl _EIEX5
19 .globl _EIEX4
20 .globl _EI2C
21 .globl _EIUSB
22 .globl _SMOD1
23 .globl _ERESI
24 .globl _RESI
25 .globl _INT6
26 .globl _CY
27 .globl _AC
28 .globl _F0
29 .globl _RS1
30 .globl _RS0
31 .globl _OV
32 .globl _FL
33 .globl _P
34 .globl _TF2
35 .globl _EXF2
36 .globl _RCLK
37 .globl _TCLK
38 .globl _EXEN2
39 .globl _TR2
40 .globl _C_T2
41 .globl _CP_RL2
42 .globl _SM01
43 .globl _SM11
44 .globl _SM21
45 .globl _REN1
46 .globl _TB81
47 .globl _RB81
48 .globl _TI1
49 .globl _RI1
50 .globl _PS1
51 .globl _PT2
52 .globl _PS0
53 .globl _PT1
54 .globl _PX1
55 .globl _PT0
56 .globl _PX0
57 .globl _D7
58 .globl _D6
59 .globl _D5
60 .globl _D4
61 .globl _D3
62 .globl _D2
63 .globl _D1
64 .globl _D0
65 .globl _EA
66 .globl _ES1
67 .globl _ET2
68 .globl _ES0
69 .globl _ET1
70 .globl _EX1
71 .globl _ET0
72 .globl _EX0
73 .globl _SM0
74 .globl _SM1
75 .globl _SM2
76 .globl _REN
77 .globl _TB8
78 .globl _RB8
79 .globl _TI
80 .globl _RI
81 .globl _TF1
82 .globl _TR1
83 .globl _TF0
84 .globl _TR0
85 .globl _IE1
86 .globl _IT1
87 .globl _IE0
88 .globl _IT0
89 .globl _SEL
90 .globl _A7
91 .globl _A6
92 .globl _A5
93 .globl _A4
94 .globl _A3
95 .globl _A2
96 .globl _A1
97 .globl _A0
98 .globl _EIP
99 .globl _B
100 .globl _EIE
101 .globl _ACC
102 .globl _EICON
103 .globl _PSW
104 .globl _TH2
105 .globl _TL2
106 .globl _RCAP2H
107 .globl _RCAP2L
108 .globl _T2CON
109 .globl _SBUF1
110 .globl _SCON1
111 .globl _GPIFSGLDATLNOX
112 .globl _GPIFSGLDATLX
113 .globl _GPIFSGLDATH
114 .globl _GPIFTRIG
115 .globl _EP01STAT
116 .globl _IP
117 .globl _OEE
118 .globl _OED
119 .globl _OEC
120 .globl _OEB
121 .globl _OEA
122 .globl _IOE
123 .globl _IOD
124 .globl _AUTOPTRSETUP
125 .globl _EP68FIFOFLGS
126 .globl _EP24FIFOFLGS
127 .globl _EP2468STAT
128 .globl _IE
129 .globl _INT4CLR
130 .globl _INT2CLR
131 .globl _IOC
132 .globl _AUTODAT2
133 .globl _AUTOPTRL2
134 .globl _AUTOPTRH2
135 .globl _AUTODAT1
136 .globl _APTR1L
137 .globl _APTR1H
138 .globl _SBUF0
139 .globl _SCON0
140 .globl _MPAGE
141 .globl _EXIF
142 .globl _IOB
143 .globl _CKCON
144 .globl _TH1
145 .globl _TH0
146 .globl _TL1
147 .globl _TL0
148 .globl _TMOD
149 .globl _TCON
150 .globl _PCON
151 .globl _DPS
152 .globl _DPH1
153 .globl _DPL1
154 .globl _DPH
155 .globl _DPL
156 .globl _SP
157 .globl _IOA
158 .globl _EP8FIFOBUF
159 .globl _EP6FIFOBUF
160 .globl _EP4FIFOBUF
161 .globl _EP2FIFOBUF
162 .globl _EP1INBUF
163 .globl _EP1OUTBUF
164 .globl _EP0BUF
165 .globl _CT4
166 .globl _CT3
167 .globl _CT2
168 .globl _CT1
169 .globl _USBTEST
170 .globl _TESTCFG
171 .globl _DBUG
172 .globl _UDMACRCQUAL
173 .globl _UDMACRCL
174 .globl _UDMACRCH
175 .globl _GPIFHOLDAMOUNT
176 .globl _FLOWSTBHPERIOD
177 .globl _FLOWSTBEDGE
178 .globl _FLOWSTB
179 .globl _FLOWHOLDOFF
180 .globl _FLOWEQ1CTL
181 .globl _FLOWEQ0CTL
182 .globl _FLOWLOGIC
183 .globl _FLOWSTATE
184 .globl _GPIFABORT
185 .globl _GPIFREADYSTAT
186 .globl _GPIFREADYCFG
187 .globl _XGPIFSGLDATLNOX
188 .globl _XGPIFSGLDATLX
189 .globl _XGPIFSGLDATH
190 .globl _EP8GPIFTRIG
191 .globl _EP8GPIFPFSTOP
192 .globl _EP8GPIFFLGSEL
193 .globl _EP6GPIFTRIG
194 .globl _EP6GPIFPFSTOP
195 .globl _EP6GPIFFLGSEL
196 .globl _EP4GPIFTRIG
197 .globl _EP4GPIFPFSTOP
198 .globl _EP4GPIFFLGSEL
199 .globl _EP2GPIFTRIG
200 .globl _EP2GPIFPFSTOP
201 .globl _EP2GPIFFLGSEL
202 .globl _GPIFTCB0
203 .globl _GPIFTCB1
204 .globl _GPIFTCB2
205 .globl _GPIFTCB3
206 .globl _GPIFADRL
207 .globl _GPIFADRH
208 .globl _GPIFCTLCFG
209 .globl _GPIFIDLECTL
210 .globl _GPIFIDLECS
211 .globl _GPIFWFSELECT
212 .globl _SETUPDAT
213 .globl _SUDPTRCTL
214 .globl _SUDPTRL
215 .globl _SUDPTRH
216 .globl _EP8FIFOBCL
217 .globl _EP8FIFOBCH
218 .globl _EP6FIFOBCL
219 .globl _EP6FIFOBCH
220 .globl _EP4FIFOBCL
221 .globl _EP4FIFOBCH
222 .globl _EP2FIFOBCL
223 .globl _EP2FIFOBCH
224 .globl _EP8FIFOFLGS
225 .globl _EP6FIFOFLGS
226 .globl _EP4FIFOFLGS
227 .globl _EP2FIFOFLGS
228 .globl _EP8CS
229 .globl _EP6CS
230 .globl _EP4CS
231 .globl _EP2CS
232 .globl _EP1INCS
233 .globl _EP1OUTCS
234 .globl _EP0CS
235 .globl _EP8BCL
236 .globl _EP8BCH
237 .globl _EP6BCL
238 .globl _EP6BCH
239 .globl _EP4BCL
240 .globl _EP4BCH
241 .globl _EP2BCL
242 .globl _EP2BCH
243 .globl _EP1INBC
244 .globl _EP1OUTBC
245 .globl _EP0BCL
246 .globl _EP0BCH
247 .globl _FNADDR
248 .globl _MICROFRAME
249 .globl _USBFRAMEL
250 .globl _USBFRAMEH
251 .globl _TOGCTL
252 .globl _WAKEUPCS
253 .globl _SUSPEND
254 .globl _USBCS
255 .globl _XAUTODAT2
256 .globl _XAUTODAT1
257 .globl _I2CTL
258 .globl _I2DAT
259 .globl _I2CS
260 .globl _PORTECFG
261 .globl _PORTCCFG
262 .globl _PORTACFG
263 .globl _INTSETUP
264 .globl _INT4IVEC
265 .globl _INT2IVEC
266 .globl _CLRERRCNT
267 .globl _ERRCNTLIM
268 .globl _USBERRIRQ
269 .globl _USBERRIE
270 .globl _GPIFIRQ
271 .globl _GPIFIE
272 .globl _EPIRQ
273 .globl _EPIE
274 .globl _USBIRQ
275 .globl _USBIE
276 .globl _NAKIRQ
277 .globl _NAKIE
278 .globl _IBNIRQ
279 .globl _IBNIE
280 .globl _EP8FIFOIRQ
281 .globl _EP8FIFOIE
282 .globl _EP6FIFOIRQ
283 .globl _EP6FIFOIE
284 .globl _EP4FIFOIRQ
285 .globl _EP4FIFOIE
286 .globl _EP2FIFOIRQ
287 .globl _EP2FIFOIE
288 .globl _OUTPKTEND
289 .globl _INPKTEND
290 .globl _EP8ISOINPKTS
291 .globl _EP6ISOINPKTS
292 .globl _EP4ISOINPKTS
293 .globl _EP2ISOINPKTS
294 .globl _EP8FIFOPFL
295 .globl _EP8FIFOPFH
296 .globl _EP6FIFOPFL
297 .globl _EP6FIFOPFH
298 .globl _EP4FIFOPFL
299 .globl _EP4FIFOPFH
300 .globl _EP2FIFOPFL
301 .globl _EP2FIFOPFH
302 .globl _EP8AUTOINLENL
303 .globl _EP8AUTOINLENH
304 .globl _EP6AUTOINLENL
305 .globl _EP6AUTOINLENH
306 .globl _EP4AUTOINLENL
307 .globl _EP4AUTOINLENH
308 .globl _EP2AUTOINLENL
309 .globl _EP2AUTOINLENH
310 .globl _EP8FIFOCFG
311 .globl _EP6FIFOCFG
312 .globl _EP4FIFOCFG
313 .globl _EP2FIFOCFG
314 .globl _EP8CFG
315 .globl _EP6CFG
316 .globl _EP4CFG
317 .globl _EP2CFG
318 .globl _EP1INCFG
319 .globl _EP1OUTCFG
320 .globl _REVCTL
321 .globl _REVID
322 .globl _FIFOPINPOLAR
323 .globl _UART230
324 .globl _BPADDRL
325 .globl _BPADDRH
326 .globl _BREAKPT
327 .globl _FIFORESET
328 .globl _PINFLAGSCD
329 .globl _PINFLAGSAB
330 .globl _IFCONFIG
331 .globl _CPUCS
332 .globl _RES_WAVEDATA_END
333 .globl _GPIF_WAVE_DATA
334 .globl _hook_timer_tick
335 ;--------------------------------------------------------
336 ; special function registers
337 ;--------------------------------------------------------
338 .area RSEG (DATA)
0080 339 _IOA = 0x0080
0081 340 _SP = 0x0081
0082 341 _DPL = 0x0082
0083 342 _DPH = 0x0083
0084 343 _DPL1 = 0x0084
0085 344 _DPH1 = 0x0085
0086 345 _DPS = 0x0086
0087 346 _PCON = 0x0087
0088 347 _TCON = 0x0088
0089 348 _TMOD = 0x0089
008A 349 _TL0 = 0x008a
008B 350 _TL1 = 0x008b
008C 351 _TH0 = 0x008c
008D 352 _TH1 = 0x008d
008E 353 _CKCON = 0x008e
0090 354 _IOB = 0x0090
0091 355 _EXIF = 0x0091
0092 356 _MPAGE = 0x0092
0098 357 _SCON0 = 0x0098
0099 358 _SBUF0 = 0x0099
009A 359 _APTR1H = 0x009a
009B 360 _APTR1L = 0x009b
009C 361 _AUTODAT1 = 0x009c
009D 362 _AUTOPTRH2 = 0x009d
009E 363 _AUTOPTRL2 = 0x009e
009F 364 _AUTODAT2 = 0x009f
00A0 365 _IOC = 0x00a0
00A1 366 _INT2CLR = 0x00a1
00A2 367 _INT4CLR = 0x00a2
00A8 368 _IE = 0x00a8
00AA 369 _EP2468STAT = 0x00aa
00AB 370 _EP24FIFOFLGS = 0x00ab
00AC 371 _EP68FIFOFLGS = 0x00ac
00AF 372 _AUTOPTRSETUP = 0x00af
00B0 373 _IOD = 0x00b0
00B1 374 _IOE = 0x00b1
00B2 375 _OEA = 0x00b2
00B3 376 _OEB = 0x00b3
00B4 377 _OEC = 0x00b4
00B5 378 _OED = 0x00b5
00B6 379 _OEE = 0x00b6
00B8 380 _IP = 0x00b8
00BA 381 _EP01STAT = 0x00ba
00BB 382 _GPIFTRIG = 0x00bb
00BD 383 _GPIFSGLDATH = 0x00bd
00BE 384 _GPIFSGLDATLX = 0x00be
00BF 385 _GPIFSGLDATLNOX = 0x00bf
00C0 386 _SCON1 = 0x00c0
00C1 387 _SBUF1 = 0x00c1
00C8 388 _T2CON = 0x00c8
00CA 389 _RCAP2L = 0x00ca
00CB 390 _RCAP2H = 0x00cb
00CC 391 _TL2 = 0x00cc
00CD 392 _TH2 = 0x00cd
00D0 393 _PSW = 0x00d0
00D8 394 _EICON = 0x00d8
00E0 395 _ACC = 0x00e0
00E8 396 _EIE = 0x00e8
00F0 397 _B = 0x00f0
00F8 398 _EIP = 0x00f8
399 ;--------------------------------------------------------
400 ; special function bits
401 ;--------------------------------------------------------
402 .area RSEG (DATA)
0080 403 _A0 = 0x0080
0081 404 _A1 = 0x0081
0082 405 _A2 = 0x0082
0083 406 _A3 = 0x0083
0084 407 _A4 = 0x0084
0085 408 _A5 = 0x0085
0086 409 _A6 = 0x0086
0087 410 _A7 = 0x0087
0086 411 _SEL = 0x0086
0088 412 _IT0 = 0x0088
0089 413 _IE0 = 0x0089
008A 414 _IT1 = 0x008a
008B 415 _IE1 = 0x008b
008C 416 _TR0 = 0x008c
008D 417 _TF0 = 0x008d
008E 418 _TR1 = 0x008e
008F 419 _TF1 = 0x008f
0098 420 _RI = 0x0098
0099 421 _TI = 0x0099
009A 422 _RB8 = 0x009a
009B 423 _TB8 = 0x009b
009C 424 _REN = 0x009c
009D 425 _SM2 = 0x009d
009E 426 _SM1 = 0x009e
009F 427 _SM0 = 0x009f
00A8 428 _EX0 = 0x00a8
00A9 429 _ET0 = 0x00a9
00AA 430 _EX1 = 0x00aa
00AB 431 _ET1 = 0x00ab
00AC 432 _ES0 = 0x00ac
00AD 433 _ET2 = 0x00ad
00AE 434 _ES1 = 0x00ae
00AF 435 _EA = 0x00af
00B0 436 _D0 = 0x00b0
00B1 437 _D1 = 0x00b1
00B2 438 _D2 = 0x00b2
00B3 439 _D3 = 0x00b3
00B4 440 _D4 = 0x00b4
00B5 441 _D5 = 0x00b5
00B6 442 _D6 = 0x00b6
00B7 443 _D7 = 0x00b7
00B8 444 _PX0 = 0x00b8
00B9 445 _PT0 = 0x00b9
00BA 446 _PX1 = 0x00ba
00BB 447 _PT1 = 0x00bb
00BC 448 _PS0 = 0x00bc
00BD 449 _PT2 = 0x00bd
00BE 450 _PS1 = 0x00be
00C0 451 _RI1 = 0x00c0
00C1 452 _TI1 = 0x00c1
00C2 453 _RB81 = 0x00c2
00C3 454 _TB81 = 0x00c3
00C4 455 _REN1 = 0x00c4
00C5 456 _SM21 = 0x00c5
00C6 457 _SM11 = 0x00c6
00C7 458 _SM01 = 0x00c7
00C8 459 _CP_RL2 = 0x00c8
00C9 460 _C_T2 = 0x00c9
00CA 461 _TR2 = 0x00ca
00CB 462 _EXEN2 = 0x00cb
00CC 463 _TCLK = 0x00cc
00CD 464 _RCLK = 0x00cd
00CE 465 _EXF2 = 0x00ce
00CF 466 _TF2 = 0x00cf
00D0 467 _P = 0x00d0
00D1 468 _FL = 0x00d1
00D2 469 _OV = 0x00d2
00D3 470 _RS0 = 0x00d3
00D4 471 _RS1 = 0x00d4
00D5 472 _F0 = 0x00d5
00D6 473 _AC = 0x00d6
00D7 474 _CY = 0x00d7
00DB 475 _INT6 = 0x00db
00DC 476 _RESI = 0x00dc
00DD 477 _ERESI = 0x00dd
00DF 478 _SMOD1 = 0x00df
00E8 479 _EIUSB = 0x00e8
00E9 480 _EI2C = 0x00e9
00EA 481 _EIEX4 = 0x00ea
00EB 482 _EIEX5 = 0x00eb
00EC 483 _EIEX6 = 0x00ec
00F8 484 _PUSB = 0x00f8
00F9 485 _PI2C = 0x00f9
00FA 486 _EIPX4 = 0x00fa
00FB 487 _EIPX5 = 0x00fb
00FC 488 _EIPX6 = 0x00fc
489 ;--------------------------------------------------------
490 ; overlayable register banks
491 ;--------------------------------------------------------
492 .area REG_BANK_0 (REL,OVR,DATA)
0000 493 .ds 8
494 ;--------------------------------------------------------
495 ; internal ram data
496 ;--------------------------------------------------------
497 .area DSEG (DATA)
498 ;--------------------------------------------------------
499 ; overlayable items in internal ram
500 ;--------------------------------------------------------
501 .area OSEG (OVR,DATA)
502 ;--------------------------------------------------------
503 ; indirectly addressable internal ram data
504 ;--------------------------------------------------------
505 .area ISEG (DATA)
506 ;--------------------------------------------------------
507 ; absolute internal ram data
508 ;--------------------------------------------------------
509 .area IABS (ABS,DATA)
510 .area IABS (ABS,DATA)
511 ;--------------------------------------------------------
512 ; bit data
513 ;--------------------------------------------------------
514 .area BSEG (BIT)
515 ;--------------------------------------------------------
516 ; paged external ram data
517 ;--------------------------------------------------------
518 .area PSEG (PAG,XDATA)
519 ;--------------------------------------------------------
520 ; external ram data
521 ;--------------------------------------------------------
522 .area XSEG (XDATA)
E400 523 _GPIF_WAVE_DATA = 0xe400
E480 524 _RES_WAVEDATA_END = 0xe480
E600 525 _CPUCS = 0xe600
E601 526 _IFCONFIG = 0xe601
E602 527 _PINFLAGSAB = 0xe602
E603 528 _PINFLAGSCD = 0xe603
E604 529 _FIFORESET = 0xe604
E605 530 _BREAKPT = 0xe605
E606 531 _BPADDRH = 0xe606
E607 532 _BPADDRL = 0xe607
E608 533 _UART230 = 0xe608
E609 534 _FIFOPINPOLAR = 0xe609
E60A 535 _REVID = 0xe60a
E60B 536 _REVCTL = 0xe60b
E610 537 _EP1OUTCFG = 0xe610
E611 538 _EP1INCFG = 0xe611
E612 539 _EP2CFG = 0xe612
E613 540 _EP4CFG = 0xe613
E614 541 _EP6CFG = 0xe614
E615 542 _EP8CFG = 0xe615
E618 543 _EP2FIFOCFG = 0xe618
E619 544 _EP4FIFOCFG = 0xe619
E61A 545 _EP6FIFOCFG = 0xe61a
E61B 546 _EP8FIFOCFG = 0xe61b
E620 547 _EP2AUTOINLENH = 0xe620
E621 548 _EP2AUTOINLENL = 0xe621
E622 549 _EP4AUTOINLENH = 0xe622
E623 550 _EP4AUTOINLENL = 0xe623
E624 551 _EP6AUTOINLENH = 0xe624
E625 552 _EP6AUTOINLENL = 0xe625
E626 553 _EP8AUTOINLENH = 0xe626
E627 554 _EP8AUTOINLENL = 0xe627
E630 555 _EP2FIFOPFH = 0xe630
E631 556 _EP2FIFOPFL = 0xe631
E632 557 _EP4FIFOPFH = 0xe632
E633 558 _EP4FIFOPFL = 0xe633
E634 559 _EP6FIFOPFH = 0xe634
E635 560 _EP6FIFOPFL = 0xe635
E636 561 _EP8FIFOPFH = 0xe636
E637 562 _EP8FIFOPFL = 0xe637
E640 563 _EP2ISOINPKTS = 0xe640
E641 564 _EP4ISOINPKTS = 0xe641
E642 565 _EP6ISOINPKTS = 0xe642
E643 566 _EP8ISOINPKTS = 0xe643
E648 567 _INPKTEND = 0xe648
E649 568 _OUTPKTEND = 0xe649
E650 569 _EP2FIFOIE = 0xe650
E651 570 _EP2FIFOIRQ = 0xe651
E652 571 _EP4FIFOIE = 0xe652
E653 572 _EP4FIFOIRQ = 0xe653
E654 573 _EP6FIFOIE = 0xe654
E655 574 _EP6FIFOIRQ = 0xe655
E656 575 _EP8FIFOIE = 0xe656
E657 576 _EP8FIFOIRQ = 0xe657
E658 577 _IBNIE = 0xe658
E659 578 _IBNIRQ = 0xe659
E65A 579 _NAKIE = 0xe65a
E65B 580 _NAKIRQ = 0xe65b
E65C 581 _USBIE = 0xe65c
E65D 582 _USBIRQ = 0xe65d
E65E 583 _EPIE = 0xe65e
E65F 584 _EPIRQ = 0xe65f
E660 585 _GPIFIE = 0xe660
E661 586 _GPIFIRQ = 0xe661
E662 587 _USBERRIE = 0xe662
E663 588 _USBERRIRQ = 0xe663
E664 589 _ERRCNTLIM = 0xe664
E665 590 _CLRERRCNT = 0xe665
E666 591 _INT2IVEC = 0xe666
E667 592 _INT4IVEC = 0xe667
E668 593 _INTSETUP = 0xe668
E670 594 _PORTACFG = 0xe670
E671 595 _PORTCCFG = 0xe671
E672 596 _PORTECFG = 0xe672
E678 597 _I2CS = 0xe678
E679 598 _I2DAT = 0xe679
E67A 599 _I2CTL = 0xe67a
E67B 600 _XAUTODAT1 = 0xe67b
E67C 601 _XAUTODAT2 = 0xe67c
E680 602 _USBCS = 0xe680
E681 603 _SUSPEND = 0xe681
E682 604 _WAKEUPCS = 0xe682
E683 605 _TOGCTL = 0xe683
E684 606 _USBFRAMEH = 0xe684
E685 607 _USBFRAMEL = 0xe685
E686 608 _MICROFRAME = 0xe686
E687 609 _FNADDR = 0xe687
E68A 610 _EP0BCH = 0xe68a
E68B 611 _EP0BCL = 0xe68b
E68D 612 _EP1OUTBC = 0xe68d
E68F 613 _EP1INBC = 0xe68f
E690 614 _EP2BCH = 0xe690
E691 615 _EP2BCL = 0xe691
E694 616 _EP4BCH = 0xe694
E695 617 _EP4BCL = 0xe695
E698 618 _EP6BCH = 0xe698
E699 619 _EP6BCL = 0xe699
E69C 620 _EP8BCH = 0xe69c
E69D 621 _EP8BCL = 0xe69d
E6A0 622 _EP0CS = 0xe6a0
E6A1 623 _EP1OUTCS = 0xe6a1
E6A2 624 _EP1INCS = 0xe6a2
E6A3 625 _EP2CS = 0xe6a3
E6A4 626 _EP4CS = 0xe6a4
E6A5 627 _EP6CS = 0xe6a5
E6A6 628 _EP8CS = 0xe6a6
E6A7 629 _EP2FIFOFLGS = 0xe6a7
E6A8 630 _EP4FIFOFLGS = 0xe6a8
E6A9 631 _EP6FIFOFLGS = 0xe6a9
E6AA 632 _EP8FIFOFLGS = 0xe6aa
E6AB 633 _EP2FIFOBCH = 0xe6ab
E6AC 634 _EP2FIFOBCL = 0xe6ac
E6AD 635 _EP4FIFOBCH = 0xe6ad
E6AE 636 _EP4FIFOBCL = 0xe6ae
E6AF 637 _EP6FIFOBCH = 0xe6af
E6B0 638 _EP6FIFOBCL = 0xe6b0
E6B1 639 _EP8FIFOBCH = 0xe6b1
E6B2 640 _EP8FIFOBCL = 0xe6b2
E6B3 641 _SUDPTRH = 0xe6b3
E6B4 642 _SUDPTRL = 0xe6b4
E6B5 643 _SUDPTRCTL = 0xe6b5
E6B8 644 _SETUPDAT = 0xe6b8
E6C0 645 _GPIFWFSELECT = 0xe6c0
E6C1 646 _GPIFIDLECS = 0xe6c1
E6C2 647 _GPIFIDLECTL = 0xe6c2
E6C3 648 _GPIFCTLCFG = 0xe6c3
E6C4 649 _GPIFADRH = 0xe6c4
E6C5 650 _GPIFADRL = 0xe6c5
E6CE 651 _GPIFTCB3 = 0xe6ce
E6CF 652 _GPIFTCB2 = 0xe6cf
E6D0 653 _GPIFTCB1 = 0xe6d0
E6D1 654 _GPIFTCB0 = 0xe6d1
E6D2 655 _EP2GPIFFLGSEL = 0xe6d2
E6D3 656 _EP2GPIFPFSTOP = 0xe6d3
E6D4 657 _EP2GPIFTRIG = 0xe6d4
E6DA 658 _EP4GPIFFLGSEL = 0xe6da
E6DB 659 _EP4GPIFPFSTOP = 0xe6db
E6DC 660 _EP4GPIFTRIG = 0xe6dc
E6E2 661 _EP6GPIFFLGSEL = 0xe6e2
E6E3 662 _EP6GPIFPFSTOP = 0xe6e3
E6E4 663 _EP6GPIFTRIG = 0xe6e4
E6EA 664 _EP8GPIFFLGSEL = 0xe6ea
E6EB 665 _EP8GPIFPFSTOP = 0xe6eb
E6EC 666 _EP8GPIFTRIG = 0xe6ec
E6F0 667 _XGPIFSGLDATH = 0xe6f0
E6F1 668 _XGPIFSGLDATLX = 0xe6f1
E6F2 669 _XGPIFSGLDATLNOX = 0xe6f2
E6F3 670 _GPIFREADYCFG = 0xe6f3
E6F4 671 _GPIFREADYSTAT = 0xe6f4
E6F5 672 _GPIFABORT = 0xe6f5
E6C6 673 _FLOWSTATE = 0xe6c6
E6C7 674 _FLOWLOGIC = 0xe6c7
E6C8 675 _FLOWEQ0CTL = 0xe6c8
E6C9 676 _FLOWEQ1CTL = 0xe6c9
E6CA 677 _FLOWHOLDOFF = 0xe6ca
E6CB 678 _FLOWSTB = 0xe6cb
E6CC 679 _FLOWSTBEDGE = 0xe6cc
E6CD 680 _FLOWSTBHPERIOD = 0xe6cd
E60C 681 _GPIFHOLDAMOUNT = 0xe60c
E67D 682 _UDMACRCH = 0xe67d
E67E 683 _UDMACRCL = 0xe67e
E67F 684 _UDMACRCQUAL = 0xe67f
E6F8 685 _DBUG = 0xe6f8
E6F9 686 _TESTCFG = 0xe6f9
E6FA 687 _USBTEST = 0xe6fa
E6FB 688 _CT1 = 0xe6fb
E6FC 689 _CT2 = 0xe6fc
E6FD 690 _CT3 = 0xe6fd
E6FE 691 _CT4 = 0xe6fe
E740 692 _EP0BUF = 0xe740
E780 693 _EP1OUTBUF = 0xe780
E7C0 694 _EP1INBUF = 0xe7c0
F000 695 _EP2FIFOBUF = 0xf000
F400 696 _EP4FIFOBUF = 0xf400
F800 697 _EP6FIFOBUF = 0xf800
FC00 698 _EP8FIFOBUF = 0xfc00
699 ;--------------------------------------------------------
700 ; absolute external ram data
701 ;--------------------------------------------------------
702 .area XABS (ABS,XDATA)
703 ;--------------------------------------------------------
704 ; external initialized ram data
705 ;--------------------------------------------------------
706 .area HOME (CODE)
707 .area GSINIT0 (CODE)
708 .area GSINIT1 (CODE)
709 .area GSINIT2 (CODE)
710 .area GSINIT3 (CODE)
711 .area GSINIT4 (CODE)
712 .area GSINIT5 (CODE)
713 .area GSINIT (CODE)
714 .area GSFINAL (CODE)
715 .area CSEG (CODE)
716 ;--------------------------------------------------------
717 ; global & static initialisations
718 ;--------------------------------------------------------
719 .area HOME (CODE)
720 .area GSINIT (CODE)
721 .area GSFINAL (CODE)
722 .area GSINIT (CODE)
723 ;--------------------------------------------------------
724 ; Home
725 ;--------------------------------------------------------
726 .area HOME (CODE)
727 .area HOME (CODE)
728 ;--------------------------------------------------------
729 ; code
730 ;--------------------------------------------------------
731 .area CSEG (CODE)
732 ;------------------------------------------------------------
733 ;Allocation info for local variables in function 'hook_timer_tick'
734 ;------------------------------------------------------------
735 ;isr_tick_handler Allocated to registers r2 r3
736 ;------------------------------------------------------------
737 ; timer.c:39: hook_timer_tick (unsigned short isr_tick_handler)
738 ; -----------------------------------------
739 ; function hook_timer_tick
740 ; -----------------------------------------
0000 741 _hook_timer_tick:
0002 742 ar2 = 0x02
0003 743 ar3 = 0x03
0004 744 ar4 = 0x04
0005 745 ar5 = 0x05
0006 746 ar6 = 0x06
0007 747 ar7 = 0x07
0000 748 ar0 = 0x00
0001 749 ar1 = 0x01
0000 AA 82 750 mov r2,dpl
0002 AB 83 751 mov r3,dph
752 ; timer.c:41: ET2 = 0; // disable timer 2 interrupts
0004 C2 AD 753 clr _ET2
754 ; timer.c:42: hook_sv (SV_TIMER_2, isr_tick_handler);
0006 8A*00 755 mov _hook_sv_PARM_2,r2
0008 8B*01 756 mov (_hook_sv_PARM_2 + 1),r3
000A 75 82 2B 757 mov dpl,#0x2B
000D 12s00r00 758 lcall _hook_sv
759 ; timer.c:44: RCAP2H = RELOAD_VALUE >> 8; // setup the auto reload value
0010 75 CB 63 760 mov _RCAP2H,#0x63
761 ; timer.c:45: RCAP2L = RELOAD_VALUE;
0013 75 CA C0 762 mov _RCAP2L,#0xC0
763 ; timer.c:47: T2CON = 0x04; // interrupt on overflow; reload; run
0016 75 C8 04 764 mov _T2CON,#0x04
765 ; timer.c:48: ET2 = 1; // enable timer 2 interrupts
0019 D2 AD 766 setb _ET2
001B 22 767 ret
768 .area CSEG (CODE)
769 .area CONST (CODE)
770 .area CABS (ABS,CODE)