author | Mario de Sousa <msousa@fe.up.pt> |
Tue, 05 Apr 2011 14:24:07 +0100 | |
changeset 281 | 686fa44e3832 |
parent 280 | 69a307407f7b |
permissions | -rwxr-xr-x |
267
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1 |
#!/bin/sh |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
2 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
3 |
#/* |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
4 |
# * matiec - a compiler for the programming languages defined in IEC 61131-3 |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
5 |
# * Copyright (C) 2003-2011 Mario de Sousa (msousa@fe.up.pt) |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
6 |
# * |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
7 |
# * This program is free software: you can redistribute it and/or modify |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
8 |
# * it under the terms of the GNU General Public License as published by |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
9 |
# * the Free Software Foundation, either version 3 of the License, or |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
10 |
# * (at your option) any later version. |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
11 |
# * |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
12 |
# * This program is distributed in the hope that it will be useful, |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
13 |
# * but WITHOUT ANY WARRANTY; without even the implied warranty of |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
14 |
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
15 |
# * GNU General Public License for more details. |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
16 |
# * |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
17 |
# * You should have received a copy of the GNU General Public License |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
18 |
# * along with this program. If not, see <http://www.gnu.org/licenses/>. |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
19 |
# * |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
20 |
# * |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
21 |
# * This code is made available on the understanding that it will not be |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
22 |
# * used in safety-critical situations without a full and competent review. |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
23 |
# */ |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
24 |
# |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
25 |
#/* |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
26 |
# * An IEC 61131-3 compiler. |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
27 |
# * |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
28 |
# * Based on the |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
29 |
# * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
30 |
# * |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
31 |
# */ |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
32 |
# |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
33 |
# |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
34 |
# A shell script to create the library header file containing the |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
35 |
# standard functions defined in IEC 61131-3 |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
36 |
# |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
37 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
38 |
|
280
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
39 |
print_usage() |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
40 |
{ |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
41 |
echo "usage: $0 {c | iec}" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
42 |
echo " c -> produce c file with implementation of standard functions" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
43 |
echo " iec -> produce txt file with declaration of standard functions" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
44 |
exit 0 |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
45 |
} |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
46 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
47 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
48 |
create_iec_beg() |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
49 |
{ |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
50 |
echo |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
51 |
echo {disable code generation} |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
52 |
echo |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
53 |
} |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
54 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
55 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
56 |
create_iec_end() |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
57 |
{ |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
58 |
echo |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
59 |
echo {enable code generation} |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
60 |
echo |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
61 |
} |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
62 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
63 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
64 |
create_iec() |
267
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
65 |
{ |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
66 |
echo |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
67 |
echo |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
68 |
echo FUNCTION $1 : $3 |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
69 |
echo " "VAR_INPUT IN: $2";" END_VAR |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
70 |
echo " "VAR_OUTPUT OUT: $3";" END_VAR |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
71 |
echo " "LD TRUE |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
72 |
echo END_FUNCTION |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
73 |
} |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
74 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
75 |
|
280
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
76 |
create_c_beg() |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
77 |
{ |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
78 |
echo |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
79 |
} |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
80 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
81 |
create_c_end() |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
82 |
{ |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
83 |
echo |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
84 |
} |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
85 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
86 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
87 |
create_c() |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
88 |
{ |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
89 |
echo |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
90 |
echo inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
91 |
echo $1"("$2 IN, $3 *__OUT, BOOL EN, BOOL *__ENO")" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
92 |
echo { $4 } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
93 |
} |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
94 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
95 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
96 |
################################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
97 |
################################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
98 |
## ## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
99 |
## Main code starts here... ## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
100 |
## ## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
101 |
################################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
102 |
################################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
103 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
104 |
if [ $# -ne 1 ] |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
105 |
then |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
106 |
print_usage |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
107 |
fi |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
108 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
109 |
if [ $1 = "c" ] |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
110 |
then |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
111 |
create=create_c |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
112 |
create_beg=create_c_beg |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
113 |
create_end=create_c_end |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
114 |
elif [ $1 = "iec" ] |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
115 |
then |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
116 |
create=create_iec |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
117 |
create_beg=create_iec_beg |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
118 |
create_end=create_iec_end |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
119 |
else |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
120 |
print_usage |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
121 |
fi |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
122 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
123 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
124 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
125 |
$create_beg |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
126 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
127 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
128 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
129 |
$create BOOL_TO_BYTE BOOL BYTE "*__OUT=(BYTE )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
130 |
$create BOOL_TO_DINT BOOL DINT "*__OUT=(DINT )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
131 |
$create BOOL_TO_DWORD BOOL DWORD "*__OUT=(DWORD )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
132 |
$create BOOL_TO_INT BOOL INT "*__OUT=(INT )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
133 |
$create BOOL_TO_LINT BOOL LINT "*__OUT=(LINT )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
134 |
$create BOOL_TO_LREAL BOOL LREAL "*__OUT=(LREAL )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
135 |
$create BOOL_TO_LWORD BOOL LWORD "*__OUT=(LWORD )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
136 |
$create BOOL_TO_REAL BOOL REAL "*__OUT=(REAL )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
137 |
$create BOOL_TO_SINT BOOL SINT "*__OUT=(SINT )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
138 |
$create BOOL_TO_UDINT BOOL UDINT "*__OUT=(UDINT )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
139 |
$create BOOL_TO_UINT BOOL UINT "*__OUT=(UINT )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
140 |
$create BOOL_TO_ULINT BOOL ULINT "*__OUT=(ULINT )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
141 |
$create BOOL_TO_USINT BOOL USINT "*__OUT=(USINT )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
142 |
$create BOOL_TO_WORD BOOL WORD "*__OUT=(WORD )__move_BOOL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
143 |
$create BYTE_TO_BOOL BYTE BOOL "*__OUT=(BOOL )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
144 |
$create BYTE_TO_DINT BYTE DINT "*__OUT=(DINT )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
145 |
$create BYTE_TO_DWORD BYTE DWORD "*__OUT=(DWORD )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
146 |
$create BYTE_TO_INT BYTE INT "*__OUT=(INT )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
147 |
$create BYTE_TO_LINT BYTE LINT "*__OUT=(LINT )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
148 |
$create BYTE_TO_LREAL BYTE LREAL "*__OUT=(LREAL )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
149 |
$create BYTE_TO_LWORD BYTE LWORD "*__OUT=(LWORD )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
150 |
$create BYTE_TO_REAL BYTE REAL "*__OUT=(REAL )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
151 |
$create BYTE_TO_SINT BYTE SINT "*__OUT=(SINT )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
152 |
$create BYTE_TO_UDINT BYTE UDINT "*__OUT=(UDINT )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
153 |
$create BYTE_TO_UINT BYTE UINT "*__OUT=(UINT )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
154 |
$create BYTE_TO_ULINT BYTE ULINT "*__OUT=(ULINT )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
155 |
$create BYTE_TO_USINT BYTE USINT "*__OUT=(USINT )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
156 |
$create BYTE_TO_WORD BYTE WORD "*__OUT=(WORD )__move_BYTE (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
157 |
$create DINT_TO_BOOL DINT BOOL "*__OUT=(BOOL )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
158 |
$create DINT_TO_BYTE DINT BYTE "*__OUT=(BYTE )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
159 |
$create DINT_TO_DWORD DINT DWORD "*__OUT=(DWORD )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
160 |
$create DINT_TO_INT DINT INT "*__OUT=(INT )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
161 |
$create DINT_TO_LINT DINT LINT "*__OUT=(LINT )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
162 |
$create DINT_TO_LREAL DINT LREAL "*__OUT=(LREAL )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
163 |
$create DINT_TO_LWORD DINT LWORD "*__OUT=(LWORD )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
164 |
$create DINT_TO_REAL DINT REAL "*__OUT=(REAL )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
165 |
$create DINT_TO_SINT DINT SINT "*__OUT=(SINT )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
166 |
$create DINT_TO_UDINT DINT UDINT "*__OUT=(UDINT )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
167 |
$create DINT_TO_UINT DINT UINT "*__OUT=(UINT )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
168 |
$create DINT_TO_ULINT DINT ULINT "*__OUT=(ULINT )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
169 |
$create DINT_TO_USINT DINT USINT "*__OUT=(USINT )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
170 |
$create DINT_TO_WORD DINT WORD "*__OUT=(WORD )__move_DINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
171 |
$create DWORD_TO_BOOL DWORD BOOL "*__OUT=(BOOL )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
172 |
$create DWORD_TO_BYTE DWORD BYTE "*__OUT=(BYTE )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
173 |
$create DWORD_TO_DINT DWORD DINT "*__OUT=(DINT )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
174 |
$create DWORD_TO_INT DWORD INT "*__OUT=(INT )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
175 |
$create DWORD_TO_LINT DWORD LINT "*__OUT=(LINT )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
176 |
$create DWORD_TO_LREAL DWORD LREAL "*__OUT=(LREAL )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
177 |
$create DWORD_TO_LWORD DWORD LWORD "*__OUT=(LWORD )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
178 |
$create DWORD_TO_REAL DWORD REAL "*__OUT=(REAL )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
179 |
$create DWORD_TO_SINT DWORD SINT "*__OUT=(SINT )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
180 |
$create DWORD_TO_UDINT DWORD UDINT "*__OUT=(UDINT )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
181 |
$create DWORD_TO_UINT DWORD UINT "*__OUT=(UINT )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
182 |
$create DWORD_TO_ULINT DWORD ULINT "*__OUT=(ULINT )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
183 |
$create DWORD_TO_USINT DWORD USINT "*__OUT=(USINT )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
184 |
$create DWORD_TO_WORD DWORD WORD "*__OUT=(WORD )__move_DWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
185 |
$create INT_TO_BOOL INT BOOL "*__OUT=(BOOL )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
186 |
$create INT_TO_BYTE INT BYTE "*__OUT=(BYTE )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
187 |
$create INT_TO_DINT INT DINT "*__OUT=(DINT )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
188 |
$create INT_TO_DWORD INT DWORD "*__OUT=(DWORD )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
189 |
$create INT_TO_LINT INT LINT "*__OUT=(LINT )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
190 |
$create INT_TO_LREAL INT LREAL "*__OUT=(LREAL )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
191 |
$create INT_TO_LWORD INT LWORD "*__OUT=(LWORD )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
192 |
$create INT_TO_REAL INT REAL "*__OUT=(REAL )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
193 |
$create INT_TO_SINT INT SINT "*__OUT=(SINT )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
194 |
$create INT_TO_UDINT INT UDINT "*__OUT=(UDINT )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
195 |
$create INT_TO_UINT INT UINT "*__OUT=(UINT )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
196 |
$create INT_TO_ULINT INT ULINT "*__OUT=(ULINT )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
197 |
$create INT_TO_USINT INT USINT "*__OUT=(USINT )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
198 |
$create INT_TO_WORD INT WORD "*__OUT=(WORD )__move_INT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
199 |
$create LINT_TO_BOOL LINT BOOL "*__OUT=(BOOL )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
200 |
$create LINT_TO_BYTE LINT BYTE "*__OUT=(BYTE )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
201 |
$create LINT_TO_DINT LINT DINT "*__OUT=(DINT )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
202 |
$create LINT_TO_DWORD LINT DWORD "*__OUT=(DWORD )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
203 |
$create LINT_TO_INT LINT INT "*__OUT=(INT )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
204 |
$create LINT_TO_LREAL LINT LREAL "*__OUT=(LREAL )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
205 |
$create LINT_TO_LWORD LINT LWORD "*__OUT=(LWORD )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
206 |
$create LINT_TO_REAL LINT REAL "*__OUT=(REAL )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
207 |
$create LINT_TO_SINT LINT SINT "*__OUT=(SINT )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
208 |
$create LINT_TO_UDINT LINT UDINT "*__OUT=(UDINT )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
209 |
$create LINT_TO_UINT LINT UINT "*__OUT=(UINT )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
210 |
$create LINT_TO_ULINT LINT ULINT "*__OUT=(ULINT )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
211 |
$create LINT_TO_USINT LINT USINT "*__OUT=(USINT )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
212 |
$create LINT_TO_WORD LINT WORD "*__OUT=(WORD )__move_LINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
213 |
$create LREAL_TO_BOOL LREAL BOOL "*__OUT=(BOOL )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
214 |
$create LREAL_TO_BYTE LREAL BYTE "*__OUT=(BYTE )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
215 |
$create LREAL_TO_DINT LREAL DINT "*__OUT=(DINT )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
216 |
$create LREAL_TO_DWORD LREAL DWORD "*__OUT=(DWORD )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
217 |
$create LREAL_TO_INT LREAL INT "*__OUT=(INT )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
218 |
$create LREAL_TO_LINT LREAL LINT "*__OUT=(LINT )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
219 |
$create LREAL_TO_LWORD LREAL LWORD "*__OUT=(LWORD )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
220 |
$create LREAL_TO_REAL LREAL REAL "*__OUT=(REAL )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
221 |
$create LREAL_TO_SINT LREAL SINT "*__OUT=(SINT )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
222 |
$create LREAL_TO_UDINT LREAL UDINT "*__OUT=(UDINT )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
223 |
$create LREAL_TO_UINT LREAL UINT "*__OUT=(UINT )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
224 |
$create LREAL_TO_ULINT LREAL ULINT "*__OUT=(ULINT )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
225 |
$create LREAL_TO_USINT LREAL USINT "*__OUT=(USINT )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
226 |
$create LREAL_TO_WORD LREAL WORD "*__OUT=(WORD )__move_LREAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
227 |
$create LWORD_TO_BOOL LWORD BOOL "*__OUT=(BOOL )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
228 |
$create LWORD_TO_BYTE LWORD BYTE "*__OUT=(BYTE )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
229 |
$create LWORD_TO_DINT LWORD DINT "*__OUT=(DINT )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
230 |
$create LWORD_TO_DWORD LWORD DWORD "*__OUT=(DWORD )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
231 |
$create LWORD_TO_INT LWORD INT "*__OUT=(INT )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
232 |
$create LWORD_TO_LINT LWORD LINT "*__OUT=(LINT )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
233 |
$create LWORD_TO_LREAL LWORD LREAL "*__OUT=(LREAL )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
234 |
$create LWORD_TO_REAL LWORD REAL "*__OUT=(REAL )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
235 |
$create LWORD_TO_SINT LWORD SINT "*__OUT=(SINT )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
236 |
$create LWORD_TO_UDINT LWORD UDINT "*__OUT=(UDINT )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
237 |
$create LWORD_TO_UINT LWORD UINT "*__OUT=(UINT )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
238 |
$create LWORD_TO_ULINT LWORD ULINT "*__OUT=(ULINT )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
239 |
$create LWORD_TO_USINT LWORD USINT "*__OUT=(USINT )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
240 |
$create LWORD_TO_WORD LWORD WORD "*__OUT=(WORD )__move_LWORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
241 |
$create REAL_TO_BOOL REAL BOOL "*__OUT=(BOOL )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
242 |
$create REAL_TO_BYTE REAL BYTE "*__OUT=(BYTE )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
243 |
$create REAL_TO_DINT REAL DINT "*__OUT=(DINT )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
244 |
$create REAL_TO_DWORD REAL DWORD "*__OUT=(DWORD )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
245 |
$create REAL_TO_INT REAL INT "*__OUT=(INT )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
246 |
$create REAL_TO_LINT REAL LINT "*__OUT=(LINT )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
247 |
$create REAL_TO_LREAL REAL LREAL "*__OUT=(LREAL )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
248 |
$create REAL_TO_LWORD REAL LWORD "*__OUT=(LWORD )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
249 |
$create REAL_TO_SINT REAL SINT "*__OUT=(SINT )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
250 |
$create REAL_TO_UDINT REAL UDINT "*__OUT=(UDINT )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
251 |
$create REAL_TO_UINT REAL UINT "*__OUT=(UINT )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
252 |
$create REAL_TO_ULINT REAL ULINT "*__OUT=(ULINT )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
253 |
$create REAL_TO_USINT REAL USINT "*__OUT=(USINT )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
254 |
$create REAL_TO_WORD REAL WORD "*__OUT=(WORD )__move_REAL (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
255 |
$create SINT_TO_BOOL SINT BOOL "*__OUT=(BOOL )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
256 |
$create SINT_TO_BYTE SINT BYTE "*__OUT=(BYTE )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
257 |
$create SINT_TO_DINT SINT DINT "*__OUT=(DINT )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
258 |
$create SINT_TO_DWORD SINT DWORD "*__OUT=(DWORD )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
259 |
$create SINT_TO_INT SINT INT "*__OUT=(INT )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
260 |
$create SINT_TO_LINT SINT LINT "*__OUT=(LINT )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
261 |
$create SINT_TO_LREAL SINT LREAL "*__OUT=(LREAL )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
262 |
$create SINT_TO_LWORD SINT LWORD "*__OUT=(LWORD )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
263 |
$create SINT_TO_REAL SINT REAL "*__OUT=(REAL )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
264 |
$create SINT_TO_UDINT SINT UDINT "*__OUT=(UDINT )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
265 |
$create SINT_TO_UINT SINT UINT "*__OUT=(UINT )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
266 |
$create SINT_TO_ULINT SINT ULINT "*__OUT=(ULINT )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
267 |
$create SINT_TO_USINT SINT USINT "*__OUT=(USINT )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
268 |
$create SINT_TO_WORD SINT WORD "*__OUT=(WORD )__move_SINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
269 |
$create UDINT_TO_BOOL UDINT BOOL "*__OUT=(BOOL )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
270 |
$create UDINT_TO_BYTE UDINT BYTE "*__OUT=(BYTE )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
271 |
$create UDINT_TO_DINT UDINT DINT "*__OUT=(DINT )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
272 |
$create UDINT_TO_DWORD UDINT DWORD "*__OUT=(DWORD )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
273 |
$create UDINT_TO_INT UDINT INT "*__OUT=(INT )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
274 |
$create UDINT_TO_LINT UDINT LINT "*__OUT=(LINT )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
275 |
$create UDINT_TO_LREAL UDINT LREAL "*__OUT=(LREAL )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
276 |
$create UDINT_TO_LWORD UDINT LWORD "*__OUT=(LWORD )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
277 |
$create UDINT_TO_REAL UDINT REAL "*__OUT=(REAL )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
278 |
$create UDINT_TO_SINT UDINT SINT "*__OUT=(SINT )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
279 |
$create UDINT_TO_UINT UDINT UINT "*__OUT=(UINT )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
280 |
$create UDINT_TO_ULINT UDINT ULINT "*__OUT=(ULINT )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
281 |
$create UDINT_TO_USINT UDINT USINT "*__OUT=(USINT )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
282 |
$create UDINT_TO_WORD UDINT WORD "*__OUT=(WORD )__move_UDINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
283 |
$create UINT_TO_BOOL UINT BOOL "*__OUT=(BOOL )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
284 |
$create UINT_TO_BYTE UINT BYTE "*__OUT=(BYTE )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
285 |
$create UINT_TO_DINT UINT DINT "*__OUT=(DINT )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
286 |
$create UINT_TO_DWORD UINT DWORD "*__OUT=(DWORD )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
287 |
$create UINT_TO_INT UINT INT "*__OUT=(INT )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
288 |
$create UINT_TO_LINT UINT LINT "*__OUT=(LINT )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
289 |
$create UINT_TO_LREAL UINT LREAL "*__OUT=(LREAL )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
290 |
$create UINT_TO_LWORD UINT LWORD "*__OUT=(LWORD )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
291 |
$create UINT_TO_REAL UINT REAL "*__OUT=(REAL )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
292 |
$create UINT_TO_SINT UINT SINT "*__OUT=(SINT )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
293 |
$create UINT_TO_UDINT UINT UDINT "*__OUT=(UDINT )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
294 |
$create UINT_TO_ULINT UINT ULINT "*__OUT=(ULINT )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
295 |
$create UINT_TO_USINT UINT USINT "*__OUT=(USINT )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
296 |
$create UINT_TO_WORD UINT WORD "*__OUT=(WORD )__move_UINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
297 |
$create ULINT_TO_BOOL ULINT BOOL "*__OUT=(BOOL )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
298 |
$create ULINT_TO_BYTE ULINT BYTE "*__OUT=(BYTE )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
299 |
$create ULINT_TO_DINT ULINT DINT "*__OUT=(DINT )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
300 |
$create ULINT_TO_DWORD ULINT DWORD "*__OUT=(DWORD )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
301 |
$create ULINT_TO_INT ULINT INT "*__OUT=(INT )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
302 |
$create ULINT_TO_LINT ULINT LINT "*__OUT=(LINT )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
303 |
$create ULINT_TO_LREAL ULINT LREAL "*__OUT=(LREAL )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
304 |
$create ULINT_TO_LWORD ULINT LWORD "*__OUT=(LWORD )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
305 |
$create ULINT_TO_REAL ULINT REAL "*__OUT=(REAL )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
306 |
$create ULINT_TO_SINT ULINT SINT "*__OUT=(SINT )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
307 |
$create ULINT_TO_UDINT ULINT UDINT "*__OUT=(UDINT )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
308 |
$create ULINT_TO_UINT ULINT UINT "*__OUT=(UINT )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
309 |
$create ULINT_TO_USINT ULINT USINT "*__OUT=(USINT )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
310 |
$create ULINT_TO_WORD ULINT WORD "*__OUT=(WORD )__move_ULINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
311 |
$create USINT_TO_BOOL USINT BOOL "*__OUT=(BOOL )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
312 |
$create USINT_TO_BYTE USINT BYTE "*__OUT=(BYTE )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
313 |
$create USINT_TO_DINT USINT DINT "*__OUT=(DINT )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
314 |
$create USINT_TO_DWORD USINT DWORD "*__OUT=(DWORD )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
315 |
$create USINT_TO_INT USINT INT "*__OUT=(INT )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
316 |
$create USINT_TO_LINT USINT LINT "*__OUT=(LINT )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
317 |
$create USINT_TO_LREAL USINT LREAL "*__OUT=(LREAL )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
318 |
$create USINT_TO_LWORD USINT LWORD "*__OUT=(LWORD )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
319 |
$create USINT_TO_REAL USINT REAL "*__OUT=(REAL )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
320 |
$create USINT_TO_SINT USINT SINT "*__OUT=(SINT )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
321 |
$create USINT_TO_UDINT USINT UDINT "*__OUT=(UDINT )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
322 |
$create USINT_TO_UINT USINT UINT "*__OUT=(UINT )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
323 |
$create USINT_TO_ULINT USINT ULINT "*__OUT=(ULINT )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
324 |
$create USINT_TO_WORD USINT WORD "*__OUT=(WORD )__move_USINT (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
325 |
$create WORD_TO_BOOL WORD BOOL "*__OUT=(BOOL )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
326 |
$create WORD_TO_BYTE WORD BYTE "*__OUT=(BYTE )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
327 |
$create WORD_TO_DINT WORD DINT "*__OUT=(DINT )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
328 |
$create WORD_TO_DWORD WORD DWORD "*__OUT=(DWORD )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
329 |
$create WORD_TO_INT WORD INT "*__OUT=(INT )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
330 |
$create WORD_TO_LINT WORD LINT "*__OUT=(LINT )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
331 |
$create WORD_TO_LREAL WORD LREAL "*__OUT=(LREAL )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
332 |
$create WORD_TO_LWORD WORD LWORD "*__OUT=(LWORD )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
333 |
$create WORD_TO_REAL WORD REAL "*__OUT=(REAL )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
334 |
$create WORD_TO_SINT WORD SINT "*__OUT=(SINT )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
335 |
$create WORD_TO_UDINT WORD UDINT "*__OUT=(UDINT )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
336 |
$create WORD_TO_UINT WORD UINT "*__OUT=(UINT )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
337 |
$create WORD_TO_ULINT WORD ULINT "*__OUT=(ULINT )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
338 |
$create WORD_TO_USINT WORD USINT "*__OUT=(USINT )__move_WORD (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
339 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
340 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
341 |
######################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
342 |
# Handling strings... # |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
343 |
######################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
344 |
$create STRING_TO_BOOL STRING BOOL "*__OUT=(BOOL )__string_to_bool (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
345 |
$create STRING_TO_BYTE STRING BYTE "*__OUT=(BYTE )__string_to_bit (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
346 |
$create STRING_TO_WORD STRING WORD "*__OUT=(WORD )__string_to_bit (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
347 |
$create STRING_TO_DWORD STRING DWORD "*__OUT=(DWORD )__string_to_bit (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
348 |
$create STRING_TO_LWORD STRING LWORD "*__OUT=(LWORD )__string_to_bit (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
349 |
$create STRING_TO_SINT STRING SINT "*__OUT=(SINT )__string_to_sint (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
350 |
$create STRING_TO_INT STRING INT "*__OUT=(INT )__string_to_sint (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
351 |
$create STRING_TO_DINT STRING DINT "*__OUT=(DINT )__string_to_sint (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
352 |
$create STRING_TO_LINT STRING LINT "*__OUT=(LINT )__string_to_sint (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
353 |
$create STRING_TO_USINT STRING USINT "*__OUT=(USINT )__string_to_uint (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
354 |
$create STRING_TO_UINT STRING UINT "*__OUT=(UINT )__string_to_uint (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
355 |
$create STRING_TO_UDINT STRING UDINT "*__OUT=(UDINT )__string_to_uint (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
356 |
$create STRING_TO_ULINT STRING ULINT "*__OUT=(ULINT )__string_to_uint (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
357 |
$create STRING_TO_REAL STRING REAL "*__OUT=(REAL )__string_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
358 |
$create STRING_TO_LREAL STRING LREAL "*__OUT=(LREAL )__string_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
359 |
$create STRING_TO_DATE STRING DATE "*__OUT=(DATE )__string_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
360 |
$create STRING_TO_TIME STRING TIME "*__OUT=(TIME )__string_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
361 |
$create STRING_TO_TOD STRING TOD "*__OUT=(TOD )__string_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
362 |
$create STRING_TO_DT STRING DT "*__OUT=(DT )__string_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
363 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
364 |
$create BOOL_TO_STRING BOOL STRING "*__OUT=(STRING )__bool_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
365 |
$create BYTE_TO_STRING BYTE STRING "*__OUT=(STRING )__bit_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
366 |
$create WORD_TO_STRING WORD STRING "*__OUT=(STRING )__bit_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
367 |
$create DWORD_TO_STRING DWORD STRING "*__OUT=(STRING )__bit_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
368 |
$create LWORD_TO_STRING LWORD STRING "*__OUT=(STRING )__bit_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
369 |
$create INT_TO_STRING INT STRING "*__OUT=(STRING )__sint_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
370 |
$create LINT_TO_STRING LINT STRING "*__OUT=(STRING )__sint_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
371 |
$create DINT_TO_STRING DINT STRING "*__OUT=(STRING )__sint_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
372 |
$create SINT_TO_STRING SINT STRING "*__OUT=(STRING )__sint_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
373 |
$create USINT_TO_STRING USINT STRING "*__OUT=(STRING )__uint_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
374 |
$create UINT_TO_STRING UINT STRING "*__OUT=(STRING )__uint_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
375 |
$create UDINT_TO_STRING UDINT STRING "*__OUT=(STRING )__uint_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
376 |
$create ULINT_TO_STRING ULINT STRING "*__OUT=(STRING )__uint_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
377 |
$create REAL_TO_STRING REAL STRING "*__OUT=(STRING )__real_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
378 |
$create LREAL_TO_STRING LREAL STRING "*__OUT=(STRING )__real_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
379 |
$create DATE_TO_STRING DATE STRING "*__OUT=(STRING )__date_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
380 |
$create DT_TO_STRING DT STRING "*__OUT=(STRING )__dt_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
381 |
$create TIME_TO_STRING TIME STRING "*__OUT=(STRING )__time_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
382 |
$create TOD_TO_STRING TOD STRING "*__OUT=(STRING )__tod_to_string (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
383 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
384 |
######################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
385 |
# Handling of dates # |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
386 |
######################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
387 |
$create BOOL_TO_DATE BOOL DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
388 |
$create BYTE_TO_DATE BYTE DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
389 |
$create WORD_TO_DATE WORD DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
390 |
$create DWORD_TO_DATE DWORD DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
391 |
$create LWORD_TO_DATE LWORD DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
392 |
$create SINT_TO_DATE SINT DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
393 |
$create INT_TO_DATE INT DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
394 |
$create DINT_TO_DATE DINT DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
395 |
$create LINT_TO_DATE LINT DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
396 |
$create USINT_TO_DATE USINT DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
397 |
$create UINT_TO_DATE UINT DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
398 |
$create UDINT_TO_DATE UDINT DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
399 |
$create ULINT_TO_DATE ULINT DATE "*__OUT=(DATE )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
400 |
$create REAL_TO_DATE REAL DATE "*__OUT=(DATE )__real_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
401 |
$create LREAL_TO_DATE LREAL DATE "*__OUT=(DATE )__real_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
402 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
403 |
$create DATE_TO_BYTE DATE BYTE "*__OUT=(BYTE )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
404 |
$create DATE_TO_WORD DATE WORD "*__OUT=(WORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
405 |
$create DATE_TO_DWORD DATE DWORD "*__OUT=(DWORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
406 |
$create DATE_TO_LWORD DATE LWORD "*__OUT=(LWORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
407 |
$create DATE_TO_SINT DATE SINT "*__OUT=(SINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
408 |
$create DATE_TO_INT DATE INT "*__OUT=(INT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
409 |
$create DATE_TO_DINT DATE DINT "*__OUT=(DINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
410 |
$create DATE_TO_LINT DATE LINT "*__OUT=(LINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
411 |
$create DATE_TO_USINT DATE USINT "*__OUT=(USINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
412 |
$create DATE_TO_UINT DATE UINT "*__OUT=(UINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
413 |
$create DATE_TO_UDINT DATE UDINT "*__OUT=(UDINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
414 |
$create DATE_TO_ULINT DATE ULINT "*__OUT=(ULINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
415 |
$create DATE_TO_REAL DATE REAL "*__OUT=(REAL )__time_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
416 |
$create DATE_TO_LREAL DATE LREAL "*__OUT=(LREAL )__time_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
417 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
418 |
######################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
419 |
# Handling of TIME # |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
420 |
######################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
421 |
$create BOOL_TO_TIME BOOL TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
422 |
$create BYTE_TO_TIME BYTE TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
423 |
$create WORD_TO_TIME WORD TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
424 |
$create DWORD_TO_TIME DWORD TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
425 |
$create LWORD_TO_TIME LWORD TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
426 |
$create SINT_TO_TIME SINT TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
427 |
$create INT_TO_TIME INT TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
428 |
$create DINT_TO_TIME DINT TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
429 |
$create LINT_TO_TIME LINT TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
430 |
$create USINT_TO_TIME USINT TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
431 |
$create UINT_TO_TIME UINT TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
432 |
$create UDINT_TO_TIME UDINT TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
433 |
$create ULINT_TO_TIME ULINT TIME "*__OUT=(TIME )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
434 |
$create REAL_TO_TIME REAL TIME "*__OUT=(TIME )__real_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
435 |
$create LREAL_TO_TIME LREAL TIME "*__OUT=(TIME )__real_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
436 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
437 |
$create TIME_TO_BYTE TIME BYTE "*__OUT=(BYTE )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
438 |
$create TIME_TO_WORD TIME WORD "*__OUT=(WORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
439 |
$create TIME_TO_DWORD TIME DWORD "*__OUT=(DWORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
440 |
$create TIME_TO_LWORD TIME LWORD "*__OUT=(LWORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
441 |
$create TIME_TO_SINT TIME SINT "*__OUT=(SINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
442 |
$create TIME_TO_INT TIME INT "*__OUT=(INT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
443 |
$create TIME_TO_DINT TIME DINT "*__OUT=(DINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
444 |
$create TIME_TO_LINT TIME LINT "*__OUT=(LINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
445 |
$create TIME_TO_USINT TIME USINT "*__OUT=(USINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
446 |
$create TIME_TO_UINT TIME UINT "*__OUT=(UINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
447 |
$create TIME_TO_UDINT TIME UDINT "*__OUT=(UDINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
448 |
$create TIME_TO_ULINT TIME ULINT "*__OUT=(ULINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
449 |
$create TIME_TO_REAL TIME REAL "*__OUT=(REAL )__time_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
450 |
$create TIME_TO_LREAL TIME LREAL "*__OUT=(LREAL )__time_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
451 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
452 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
453 |
############################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
454 |
# Handling of DATE_AND_TIME # |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
455 |
############################## |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
456 |
$create BOOL_TO_DT BOOL DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
457 |
$create BYTE_TO_DT BYTE DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
458 |
$create WORD_TO_DT WORD DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
459 |
$create DWORD_TO_DT DWORD DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
460 |
$create LWORD_TO_DT LWORD DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
461 |
$create SINT_TO_DT SINT DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
462 |
$create INT_TO_DT INT DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
463 |
$create DINT_TO_DT DINT DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
464 |
$create LINT_TO_DT LINT DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
465 |
$create USINT_TO_DT USINT DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
466 |
$create UINT_TO_DT UINT DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
467 |
$create UDINT_TO_DT UDINT DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
468 |
$create ULINT_TO_DT ULINT DT "*__OUT=(DT )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
469 |
$create REAL_TO_DT REAL DT "*__OUT=(DT )__real_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
470 |
$create LREAL_TO_DT LREAL DT "*__OUT=(DT )__real_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
471 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
472 |
$create DT_TO_BYTE DT BYTE "*__OUT=(BYTE )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
473 |
$create DT_TO_WORD DT WORD "*__OUT=(WORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
474 |
$create DT_TO_DWORD DT DWORD "*__OUT=(DWORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
475 |
$create DT_TO_LWORD DT LWORD "*__OUT=(LWORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
476 |
$create DT_TO_SINT DT SINT "*__OUT=(SINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
477 |
$create DT_TO_INT DT INT "*__OUT=(INT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
478 |
$create DT_TO_DINT DT DINT "*__OUT=(DINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
479 |
$create DT_TO_LINT DT LINT "*__OUT=(LINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
480 |
$create DT_TO_USINT DT USINT "*__OUT=(USINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
481 |
$create DT_TO_UINT DT UINT "*__OUT=(UINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
482 |
$create DT_TO_UDINT DT UDINT "*__OUT=(UDINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
483 |
$create DT_TO_ULINT DT ULINT "*__OUT=(ULINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
484 |
$create DT_TO_REAL DT REAL "*__OUT=(REAL )__time_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
485 |
$create DT_TO_LREAL DT LREAL "*__OUT=(LREAL )__time_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
486 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
487 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
488 |
#################### |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
489 |
# Handling of TOD # |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
490 |
#################### |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
491 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
492 |
$create BOOL_TO_TOD BOOL TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
493 |
$create BYTE_TO_TOD BYTE TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
494 |
$create WORD_TO_TOD WORD TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
495 |
$create DWORD_TO_TOD DWORD TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
496 |
$create LWORD_TO_TOD LWORD TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
497 |
$create SINT_TO_TOD SINT TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
498 |
$create INT_TO_TOD INT TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
499 |
$create DINT_TO_TOD DINT TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
500 |
$create LINT_TO_TOD LINT TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
501 |
$create USINT_TO_TOD USINT TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
502 |
$create UINT_TO_TOD UINT TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
503 |
$create UDINT_TO_TOD UDINT TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
504 |
$create ULINT_TO_TOD ULINT TOD "*__OUT=(TOD )__int_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
505 |
$create REAL_TO_TOD REAL TOD "*__OUT=(TOD )__real_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
506 |
$create LREAL_TO_TOD LREAL TOD "*__OUT=(TOD )__real_to_time (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
507 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
508 |
$create TOD_TO_BYTE TOD BYTE "*__OUT=(BYTE )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
509 |
$create TOD_TO_WORD TOD WORD "*__OUT=(WORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
510 |
$create TOD_TO_DWORD TOD DWORD "*__OUT=(DWORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
511 |
$create TOD_TO_LWORD TOD LWORD "*__OUT=(LWORD )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
512 |
$create TOD_TO_SINT TOD SINT "*__OUT=(SINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
513 |
$create TOD_TO_INT TOD INT "*__OUT=(INT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
514 |
$create TOD_TO_DINT TOD DINT "*__OUT=(DINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
515 |
$create TOD_TO_LINT TOD LINT "*__OUT=(LINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
516 |
$create TOD_TO_USINT TOD USINT "*__OUT=(USINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
517 |
$create TOD_TO_UINT TOD UINT "*__OUT=(UINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
518 |
$create TOD_TO_UDINT TOD UDINT "*__OUT=(UDINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
519 |
$create TOD_TO_ULINT TOD ULINT "*__OUT=(ULINT )__time_to_int (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
520 |
$create TOD_TO_REAL TOD REAL "*__OUT=(REAL )__time_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
521 |
$create TOD_TO_LREAL TOD LREAL "*__OUT=(LREAL )__time_to_real (EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
522 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
523 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
524 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
525 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
526 |
$create DATE_AND_TIME_TO_TIME_OF_DAY DT TOD "*__OUT = (TOD )__date_and_time_to_time_of_day(EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
527 |
$create DATE_AND_TIME_TO_DATE DT DATE "*__OUT = (DATE )__date_and_time_to_date(EN,__ENO,IN);" |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
528 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
529 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
530 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
531 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
532 |
$create_end |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
533 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
534 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
535 |
# *BCD_TO_** and **_TO_BCD* are not yet supported |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
536 |
# We comment them out for now... |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
537 |
exit 0 |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
538 |
create UDINT_TO_BCD_BYTE UDINT BYTE |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
539 |
create UDINT_TO_BCD_WORD UDINT WORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
540 |
create UDINT_TO_BCD_DWORD UDINT DWORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
541 |
create UDINT_TO_BCD_LWORD UDINT LWORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
542 |
create UINT_TO_BCD_BYTE UINT BYTE |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
543 |
create UINT_TO_BCD_WORD UINT WORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
544 |
create UINT_TO_BCD_DWORD UINT DWORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
545 |
create UINT_TO_BCD_LWORD UINT LWORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
546 |
create USINT_TO_BCD_BYTE USINT BYTE |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
547 |
create USINT_TO_BCD_WORD USINT WORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
548 |
create USINT_TO_BCD_DWORD USINT DWORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
549 |
create USINT_TO_BCD_LWORD USINT LWORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
550 |
create ULINT_TO_BCD_BYTE ULINT BYTE |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
551 |
create ULINT_TO_BCD_WORD ULINT WORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
552 |
create ULINT_TO_BCD_DWORD ULINT DWORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
553 |
create ULINT_TO_BCD_LWORD ULINT LWORD |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
554 |
|
267
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
555 |
create BYTE_BCD_TO_UDINT BYTE UDINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
556 |
create WORD_BCD_TO_UDINT WORD UDINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
557 |
create DWORD_BCD_TO_UDINT DWORD UDINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
558 |
create LWORD_BCD_TO_UDINT LWORD UDINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
559 |
create BYTE_BCD_TO_UINT BYTE UINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
560 |
create WORD_BCD_TO_UINT WORD UINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
561 |
create DWORD_BCD_TO_UINT DWORD UINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
562 |
create LWORD_BCD_TO_UINT LWORD UINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
563 |
create BYTE_BCD_TO_USINT BYTE USINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
564 |
create WORD_BCD_TO_USINT WORD USINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
565 |
create DWORD_BCD_TO_USINT DWORD USINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
566 |
create LWORD_BCD_TO_USINT LWORD USINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
567 |
create BYTE_BCD_TO_ULINT BYTE ULINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
568 |
create WORD_BCD_TO_ULINT WORD ULINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
569 |
create DWORD_BCD_TO_ULINT DWORD ULINT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
570 |
create LWORD_BCD_TO_ULINT LWORD ULINT |
280
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
571 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
269
diff
changeset
|
572 |
|
267
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
573 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
574 |
exit 0 |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
575 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
576 |
ABS |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
577 |
SQRT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
578 |
LN |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
579 |
LOG |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
580 |
EXP |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
581 |
SIN |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
582 |
COS |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
583 |
TAN |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
584 |
ASIN |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
585 |
ACOS |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
586 |
ATAN |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
587 |
ADD |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
588 |
MUL |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
589 |
SUB |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
590 |
DIV |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
591 |
MOD |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
592 |
EXPT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
593 |
MOVE |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
594 |
SHL |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
595 |
SHR |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
596 |
ROR |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
597 |
ROL |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
598 |
AND |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
599 |
OR |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
600 |
XOR |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
601 |
NOT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
602 |
SEL |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
603 |
MAX |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
604 |
MIN |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
605 |
LIMIT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
606 |
MUX |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
607 |
GT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
608 |
GE |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
609 |
EQ |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
610 |
LT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
611 |
LE |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
612 |
NE |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
613 |
LEN |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
614 |
LEFT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
615 |
RIGHT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
616 |
MID |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
617 |
CONCAT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
618 |
INSERT |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
619 |
DELETE |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
620 |
REPLACE |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
621 |
FIND |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
622 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
623 |
TRUNC |
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
624 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
625 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
626 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
627 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
628 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
629 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
630 |
|
0a1204bcc9af
starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
631 |