]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blob - fx2lib/lib/usbav.a51
Add Hantek PSO2020 firmware support
[sigrok-firmware-fx2lafw.git] / fx2lib / lib / usbav.a51
1 ; Copyright (C) 2010 Ubixum, Inc. 
2 ;
3 ; This library is free software; you can redistribute it and/or
4 ; modify it under the terms of the GNU Lesser General Public
5 ; License as published by the Free Software Foundation; either
6 ; version 2.1 of the License, or (at your option) any later version.
7
8 ; This library is distributed in the hope that it will be useful,
9 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 ; Lesser General Public License for more details.
12
13 ; You should have received a copy of the GNU Lesser General Public
14 ; License along with this library; if not, see <http://www.gnu.org/licenses/>.
15
16 .module INT2AV ; jump table for usb auto vector
17
18 .globl _INT2JT ; defined as global so this assembly gets included in project 
19
20 .area INT2AV (ABS,OVR)
21 .org    0x43 ; this is where USBINT ( interrupt 8 ) jumps to
22 _INT2AV = #. + 2 ; two bytes for ljmp (auto set by INT2IVEC)
23     ljmp _INT2JT
24
25 ; INT2 Jump Table
26
27 .area INT2JT ( CODE )
28 ;.org    0x1A00 ; needs to be on a page boundary
29
30 _INT2JT:
31     ljmp _sudav_isr
32     .db 0
33     ljmp _sof_isr
34     .db 0
35     ljmp _sutok_isr
36     .db 0
37     ljmp _suspend_isr
38     .db 0
39     ljmp _usbreset_isr
40     .db 0
41     ljmp _hispeed_isr
42     .db 0
43     ljmp _ep0ack_isr
44     .db 0
45     ljmp _spare_isr
46     .db 0
47     ljmp _ep0in_isr
48     .db 0
49     ljmp _ep0out_isr
50     .db 0
51     ljmp _ep1in_isr
52     .db 0
53     ljmp _ep1out_isr
54     .db 0
55     ljmp _ep2_isr
56     .db 0
57     ljmp _ep4_isr
58     .db 0
59     ljmp _ep6_isr
60     .db 0
61     ljmp _ep8_isr
62     .db 0
63     ljmp _ibn_isr
64     .db 0
65     ljmp _spare_isr
66     .db 0
67     ljmp _ep0ping_isr
68     .db 0
69     ljmp _ep1ping_isr
70     .db 0
71     ljmp _ep2ping_isr
72     .db 0
73     ljmp _ep4ping_isr
74     .db 0
75     ljmp _ep6ping_isr
76     .db 0
77     ljmp _ep8ping_isr
78     .db 0
79     ljmp _errlimit_isr
80     .db 0
81     ljmp _spare_isr
82     .db 0
83     ljmp _spare_isr
84     .db 0
85     ljmp _spare_isr
86     .db 0
87     ljmp _ep2isoerr_isr
88     .db 0
89     ljmp _ep4isoerr_isr
90     .db 0
91     ljmp _ep6isoerr_isr
92     .db 0
93     ljmp _ep8isoerr_isr
94     .db 0
95 ; INT4JT
96     ljmp _ep2pf_isr
97     .db 0
98     ljmp _ep4pf_isr
99     .db 0
100     ljmp _ep6pf_isr
101     .db 0
102     ljmp _ep8pf_isr
103     .db 0
104     ljmp _ep2ef_isr
105     .db 0
106     ljmp _ep4ef_isr
107     .db 0
108     ljmp _ep6ef_isr
109     .db 0
110     ljmp _ep8ef_isr
111     .db 0
112     ljmp _ep2ff_isr
113     .db 0
114     ljmp _ep4ff_isr
115     .db 0
116     ljmp _ep6ff_isr
117     .db 0
118     ljmp _ep8ff_isr
119     .db 0
120     ljmp _gpifdone_isr
121     .db 0
122     ljmp _gpifwf_isr
123     .db 0
124