Copyright update for 2011
[bcusdk.git] / bcu / lib / bcu1func.s
blob81544cbb1daa8058847813a12c4c78252fe874d5
1 # BCU SDK bcu development enviroment
2 # Copyright (C) 2005-2011 Martin Koegler <mkoegler@auto.tuwien.ac.at>
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # In addition to the permissions in the GNU General Public License,
10 # you may link the compiled version of this file into combinations
11 # with other programs, and distribute those combinations without any
12 # restriction coming from the use of this file. (The General Public
13 # License restrictions do apply in other respects; for example, they
14 # cover modification of the file, and distribution when not linked into
15 # a combine executable.)
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 .global OR_TAB, AND_TAB, U_flagsGet, U_flagsSet, U_testObj, U_transRequest
27 .global EEwrite, EEsetChecksum, U_debounce, U_deb10, U_deb30, U_delMsgs
28 .global U_readAD, U_map, U_ioAST, S_AstShift, S_LAstShift, U_SerialShift
29 .global TM_Load, TM_GetFlg, U_SetTM, U_GetTM, U_Delay, AllocBuf, FreeBuf
30 .global PopBuf, multDE_FG, divDE_BC, shlA4, shlA5, shlA6, shlA7, shrA4
31 .global shrA5, shrA6, shrA7, rolA1, rolA2, rolA3, rolA4, U_SetBit, U_GetBit
32 .global U_SetTMx, U_GetTMx, rolA7
34 #mask-version 1.2
35 .set OR_TAB, 0x0020
36 .set AND_TAB, 0x0028
37 .set U_flagsGet, 0x0C9D
38 .set U_flagsSet, 0x0CB3
39 .set U_testObj, 0x0CA5
40 .set U_transRequest, 0x0DB9
41 .set EEwrite, 0x0C38
42 .set EEsetChecksum, 0x0C68
43 .set U_debounce, 0x0C75
44 .set U_deb10, 0x0C73
45 .set U_deb30, 0x0C6F
46 .set U_delMsgs, 0x0C93
47 .set U_readAD, 0x0D54
48 .set U_map, 0x0CBA
49 .set U_ioAST, 0x0DCF
50 .set S_AstShift, 0x1117
51 .set S_LastShift, 0x1115
52 .set U_SerialShift, 0x0C90
53 .set TM_Load, 0x0E2B
54 .set TM_GetFlg, 0x0E49
55 .set U_SetTM, 0x0DB2
56 .set U_GetTM, 0x0D71
57 .set U_SetTMx, 0x0DAF
58 .set U_GetTMx, 0x0D6C
59 .set U_Delay, 0x0DFA
60 .set AllocBuf, 0x117E
61 .set FreeBuf, 0x11A0
62 .set PopBuf, 0x11C0
63 .set multDE_FG, 0x0B4B
64 .set divDE_BC, 0x0B0B
65 .set shlA4, 0x0BA9
66 .set shlA5, 0x0BA8
67 .set shlA6, 0x0BA7
68 .set shlA7, 0x0BA6
69 .set shrA4, 0x0BE9
70 .set shrA5, 0x0BE8
71 .set shrA6, 0x0BE7
72 .set shrA7, 0x0BE6
73 .set rolA1, 0x0AF4
74 .set rolA2, 0x0AF2
75 .set rolA3, 0x0AF0
76 .set rolA4, 0x0AEE
77 .set rolA7, 0x0AEC
78 .set U_SetBit, 0x0E18
79 .set U_GetBit, 0x0E0C