laurent [Fri, 01 Apr 2011 17:26:29 +0200] rev 255
Modify code generated for avoiding warning while compiling when configuration or resource don't have any global variable
Edouard Tisserant [Thu, 31 Mar 2011 19:11:16 +0200] rev 254
Initial TIME support in debugger
laurent [Sun, 27 Mar 2011 16:19:36 +0200] rev 253
Merged with Edouard's modifications
laurent [Sun, 27 Mar 2011 15:55:51 +0200] rev 252
Bug with getter for pointed variables in accessors fixed
Edouqrd Tisserant <edouard.tisserant@gmail.com> [Sat, 26 Mar 2011 18:53:51 +0100] rev 251
Added dumb SEMA?implementation
laurent [Wed, 16 Mar 2011 10:31:50 +0100] rev 250
Adding missing support for accessors and retain in configuration files (Bug and fix reported by Manuele Conti)
laurent [Sat, 12 Mar 2011 18:43:02 +0100] rev 249
Merged with modifications from Edouard
laurent [Sat, 12 Mar 2011 18:38:41 +0100] rev 248
Task single parameter code generation broken after addition of accessors fixed.
laurent [Sat, 12 Mar 2011 18:31:36 +0100] rev 247
Bug when function call result is a parameter of another function call fixed.
edouard [Tue, 22 Feb 2011 15:19:41 +0100] rev 246
A forgotten case in type size getter switch prevented debugging outputs.
laurent [Wed, 16 Jun 2010 21:52:17 +0200] rev 245
merge
laurent [Wed, 02 Jun 2010 18:21:15 +0200] rev 244
Adding support for generating code for variable in step action association instead of action
Lolitech [Thu, 03 Jun 2010 12:59:32 +0200] rev 243
Updated makefiles for cygwin build with no perl
laurent [Thu, 20 May 2010 23:36:53 +0200] rev 242
Bug with global located variables accessors fixed
laurent [Wed, 19 May 2010 21:51:52 +0200] rev 241
Bug with code generation of global located variables in resource fixed thanks to Mario
laurent [Thu, 22 Apr 2010 07:03:18 +0200] rev 240
Bugs fixed:
- S and R operators using C++ literals
- Function block output assignment code generation
laurent [Thu, 22 Apr 2010 00:29:30 +0200] rev 239
Bug when parsing standard function block call in IL
laurent [Tue, 15 Dec 2009 20:50:30 +0100] rev 238
Bug when trying to get type of elements in a big complex structure fixed
laurent [Tue, 15 Dec 2009 16:29:44 +0100] rev 237
Adding support for using arrays in POU interface
laurent [Tue, 15 Dec 2009 11:18:19 +0100] rev 236
Using InOut variables in functions fixed
laurent [Tue, 15 Dec 2009 08:51:44 +0100] rev 235
Bug on generate_c_inlinefcall fixed
Adding support for using structures in POU interface
laurent [Sun, 13 Dec 2009 11:41:22 +0100] rev 234
Using function_call_iterator in generate_c_inlinefcall instead of creating a new visitor
laurent [Sat, 12 Dec 2009 20:41:32 +0100] rev 233
Bug on standard functions called with literals fixed
Checking that number of parameters in function call doesn't exceed the maximum
laurent [Fri, 11 Dec 2009 13:01:17 +0100] rev 232
Adding support for making distinction between external variables and located variables for forcing
laurent [Fri, 11 Dec 2009 12:53:54 +0100] rev 231
Adding support for forcing global without perturbation from setting external
laurent [Wed, 09 Dec 2009 16:45:27 +0100] rev 230
Bug in located variable initialization code fixed
laurent [Tue, 08 Dec 2009 16:26:06 +0100] rev 229
Bug on SFC debugging fixed
Adding support for forcing transition state
berem [Mon, 07 Dec 2009 15:36:29 +0100] rev 228
Adding support for setter and getter on complex datatype in IL
laurent [Sat, 05 Dec 2009 18:53:01 +0100] rev 227
Changes merged
laurent [Sat, 05 Dec 2009 18:38:53 +0100] rev 226
Adding support for setter and getter on complex datatype in ST
laurent [Sat, 05 Dec 2009 18:35:38 +0100] rev 225
Fix accessor code
edouard [Fri, 04 Dec 2009 15:13:08 +0100] rev 224
type definition to match accessor and new debug
edouard [Fri, 04 Dec 2009 15:11:16 +0100] rev 223
fixed cygwin build - still slooooooooow
laurent [Wed, 02 Dec 2009 19:55:23 +0100] rev 222
Adding Flags bit symbols
laurent [Wed, 02 Dec 2009 16:11:01 +0100] rev 221
Adding support for flags on Function Block variables for marking which variable must be debugged, retained or is forced
laurent [Tue, 01 Dec 2009 09:03:33 +0100] rev 220
Bug with ULINT correction fixed
laurent [Mon, 30 Nov 2009 15:36:12 +0100] rev 219
Adding support for declare, init, get and set macros
Edouard TISSERANT <edouard.tisserant@gmail.com> [Sun, 29 Nov 2009 19:09:56 +0100] rev 218
added files to ignore in hgignore
laurent [Sun, 29 Nov 2009 16:38:11 +0100] rev 217
Adding support for declare, init, get and set macros
laurent [Wed, 18 Nov 2009 10:53:15 +0100] rev 216
Bug with using non explicit literals as standard library functions input parameters fixed
edouard [Mon, 02 Nov 2009 17:41:56 +0100] rev 215
Wiped out references to Lolitech
greg [Mon, 02 Nov 2009 12:01:09 +0100] rev 214
Replace \"lolitech\" contact by \"edouard\" contact
greg [Wed, 28 Oct 2009 13:50:56 +0100] rev 213
Fix some bug in debian packages
greg [Thu, 22 Oct 2009 10:31:26 +0200] rev 212
Fix some warnings on compilation
laurent [Mon, 19 Oct 2009 18:12:44 +0200] rev 211
Remove warnings when compiling IL generated C code
laurent [Mon, 21 Sep 2009 12:04:15 +0200] rev 210
Adding support for forcing tick count to return to zero as the same time than all tasks firing are synchronized
laurent [Mon, 21 Sep 2009 12:02:14 +0200] rev 209
Remove -pedantic flag to CFLAGS to allow unsigned long long to be compiled
laurent [Wed, 02 Sep 2009 18:23:40 +0200] rev 208
Modify code generated to fit latest modifications in matiec and useless symbol definitions
laurent [Wed, 02 Sep 2009 17:35:56 +0200] rev 207
Bug in eno_param_declaration error handle fixed
laurent [Wed, 02 Sep 2009 17:35:02 +0200] rev 206
Bug with EN/ENO in generate_var_list that breaks parsing of variables.csv fixed
'Laurent Bessard <laurent.bessard@lolitech.fr>' [Wed, 02 Sep 2009 14:05:27 +0200] rev 205
Mario changes merged
Catarina Boucinha <ccb@fe.up.pt> [Thu, 27 Aug 2009 16:29:23 +0100] rev 204
Adding missing Stage3 files.
Catarina Boucinha <ccb@fe.up.pt> [Thu, 27 Aug 2009 16:18:56 +0100] rev 203
Merged changes
Catarina Boucinha <ccb@fe.up.pt> [Thu, 27 Aug 2009 16:06:46 +0100] rev 202
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt> [Thu, 02 Jul 2009 11:26:25 +0100] rev 201
Introducing the search_il_operand_type files in the absyntax_utils folder.
The Makefile from absyntax_utils folder and the generate_c_il.cc from the stage4/generate_c
folder was also modified to work with the new search_il_operand_type file.
laurent [Wed, 02 Sep 2009 13:39:05 +0200] rev 200
Applying patch from Iztok for old gcc versions
laurent [Tue, 01 Sep 2009 17:01:08 +0200] rev 199
Bug with type conversion EN/ENO not evaluated fixed
Removing some warnings in iec_std_lib.h
'Gr?gory Tr?lat <gregory.trelat@lolitech.fr>' [Fri, 10 Jul 2009 11:41:29 +0200] rev 198
prevent eclipse to push .project with .hgignore
'Gr?gory Tr?lat <gregory.trelat@lolitech.fr>' [Fri, 10 Jul 2009 11:08:33 +0200] rev 197
removed dead hidden files
lbessard [Fri, 19 Jun 2009 13:27:26 +0200] rev 196
Fix problems with direct variables in expression while compiling resulting expression type
lbessard [Fri, 19 Jun 2009 13:26:31 +0200] rev 195
Fix segmentation fault when define global with location but no name (reported by brendan)
mario [Thu, 18 Jun 2009 19:18:54 +0200] rev 194
Removing un-necessary symbol direct_variable_type_name_c from abstract syntax tree
mario [Thu, 18 Jun 2009 18:49:29 +0200] rev 193
Fixing indentification
lbessard [Wed, 10 Jun 2009 15:02:14 +0200] rev 192
Adding inclusion of function blocks defined in AnnexF into library blocks
lbessard [Wed, 10 Jun 2009 13:20:52 +0200] rev 191
Adding support for parsing standard function in standard function blocks code generation
lbessard [Wed, 10 Jun 2009 13:19:51 +0200] rev 190
Adding inclusion of function blocks defined in AnnexF into library blocks
lbessard [Tue, 09 Jun 2009 10:57:01 +0200] rev 189
Bug on function without input parameters fixed
lbessard [Tue, 09 Jun 2009 10:14:17 +0200] rev 188
Removing failing error finding rule
lbessard [Fri, 05 Jun 2009 16:11:25 +0200] rev 187
Warning when compiling abs functions for unsigned integer fixed
greg [Fri, 05 Jun 2009 14:06:53 +0200] rev 186
bug when compiling for windows (missing getopt.h) fixed
mario [Thu, 04 Jun 2009 14:17:08 +0200] rev 185
Newer versions of g++ require access controls to be correct!
lbessard [Thu, 04 Jun 2009 09:47:35 +0200] rev 184
Adding support for single resource scheduling
lbessard [Thu, 04 Jun 2009 09:44:53 +0200] rev 183
Bug with bison versions earlier than 2.3 fixed
mario [Mon, 01 Jun 2009 21:11:12 +0200] rev 182
Moving absyntax utility functions out from stage4/generate_c
mario [Mon, 01 Jun 2009 21:08:44 +0200] rev 181
Moving absyntax utility files out from stage4/generate_c
greg [Sat, 30 May 2009 16:42:41 +0200] rev 180
Bug on "abs" not working with float fixed
lbessard [Thu, 28 May 2009 14:02:35 +0200] rev 179
Target Directory not parsed in command line fixed
mario [Tue, 26 May 2009 18:04:27 +0200] rev 178
Starting move of search utils to their own top level directory.
mario [Mon, 25 May 2009 12:17:10 +0200] rev 177
Adding support for SAFEBOOL. Some code generation yet to do...
lbessard [Tue, 19 May 2009 16:31:35 +0200] rev 176
Bug with non-working counters fixed
lbessard [Mon, 18 May 2009 13:19:30 +0200] rev 175
Adding support for checking direct variable declared before using
lbessard [Fri, 15 May 2009 10:23:20 +0200] rev 174
Bug with array datatype definition fixed
lbessard [Fri, 20 Mar 2009 13:49:48 +0100] rev 173
Bug generated when IL code starts whitout LD operand fixed
etisserant [Thu, 19 Mar 2009 16:21:30 +0100] rev 172
Fixed (again) some Makefile quirks.
greg [Mon, 02 Mar 2009 09:27:55 +0100] rev 171
updated : debian package scripts
lbessard [Tue, 20 Jan 2009 15:06:13 +0100] rev 170
Disable compiling warnings on Windows
lbessard [Mon, 19 Jan 2009 17:06:22 +0100] rev 169
Bug when function with unconnected input fixed
etisserant [Mon, 19 Jan 2009 08:28:04 +0100] rev 168
Canged default string length to 127, keeping strlen_t to int8_t
etisserant [Mon, 19 Jan 2009 08:27:30 +0100] rev 167
Fixed parameter count error on variadic functions with EN/ENO
lbessard [Wed, 14 Jan 2009 20:54:29 +0100] rev 166
Bug with external variable declaration fixed
lbessard [Wed, 14 Jan 2009 19:47:41 +0100] rev 165
Bug on standard function not defined with EN/ENO fixed
lbessard [Fri, 09 Jan 2009 17:05:24 +0100] rev 164
Bug with structure of structure fixed
etisserant [Sun, 04 Jan 2009 17:23:06 +0100] rev 163
Fixed errors in string_to_int.
etisserant [Sun, 04 Jan 2009 17:21:33 +0100] rev 162
Fixed typo in EN/ENO parameters handling for std library functions
etisserant [Tue, 23 Dec 2008 13:21:19 +0100] rev 161
STRING max size and length type can now be overloaded (define STR_MAX_LEN and STR_LEN_TYPE before including iec_types.h)
lbessard [Fri, 19 Dec 2008 15:09:29 +0100] rev 160
Adding support for compiling struct data types
etisserant [Mon, 15 Dec 2008 17:23:48 +0100] rev 159
Try to clean Makefile. Not a real success.
etisserant [Mon, 15 Dec 2008 17:23:22 +0100] rev 158
fixed typo in generated VARIABLES.CSV
lbessard [Fri, 12 Dec 2008 17:52:44 +0100] rev 157
Adding Function Blocks in VARIABLES.csv
greg [Fri, 05 Dec 2008 16:22:15 +0100] rev 156
Warning conditions on win32 fixed
greg [Thu, 04 Dec 2008 13:09:18 +0100] rev 155
set and reset action fixed
lbessard [Mon, 01 Dec 2008 14:13:47 +0100] rev 154
Bug with standard functions nb_params count on Windows fixed
greg [Wed, 26 Nov 2008 09:06:52 +0100] rev 153
Modifying MOVE interface
greg [Wed, 26 Nov 2008 09:06:26 +0100] rev 152
Adding support for direct variable type search
lbessard [Fri, 21 Nov 2008 13:43:49 +0100] rev 151
Bug on language selection in SFC Action fixed
lbessard [Fri, 24 Oct 2008 16:38:26 +0200] rev 150
Bug with DEBUG mode in SFC fixed
lbessard [Fri, 24 Oct 2008 16:37:46 +0200] rev 149
Adding support for EN/ENO in standard functions
greg [Wed, 15 Oct 2008 15:38:58 +0200] rev 148
add Makefile for the mingw toolchain on win32
lbessard [Tue, 07 Oct 2008 14:33:52 +0200] rev 147
fixed typo eno_param_declaration
lbessard [Fri, 26 Sep 2008 14:42:05 +0200] rev 146
Adding support for EN/ENO params in function and function blocks (standard function not supported yet)
lbessard [Thu, 25 Sep 2008 10:26:10 +0200] rev 145
Adding support for ouput variables in functions
lbessard [Thu, 25 Sep 2008 10:25:30 +0200] rev 144
Bug with enumerated_value fixed
lbessard [Mon, 15 Sep 2008 13:36:24 +0200] rev 143
Adding support for EN/ENO parameters in bison rules
lbessard [Mon, 08 Sep 2008 10:34:24 +0200] rev 142
Bug while wearching errors in transition with priority fixed
lbessard [Mon, 08 Sep 2008 10:33:37 +0200] rev 141
Adding support for transition debugging
etisserant [Sun, 07 Sep 2008 10:08:11 +0200] rev 140
Added __DEBUG global var to eventually change PLC code execution
etisserant [Thu, 21 Aug 2008 16:08:19 +0200] rev 139
added missing includes on some platform (gentoo/gcc-4.3.1)
etisserant [Tue, 19 Aug 2008 18:04:28 +0200] rev 138
Some miscelanous static, extern and pointer status variable changes in C generated code for configuration and resources
etisserant [Tue, 19 Aug 2008 18:03:11 +0200] rev 137
Re-organized types headers, to ease debug code generation
lbessard [Tue, 12 Aug 2008 16:14:12 +0200] rev 136
Adding some improvements:
- columns in token location
- main parameter to allow user to display full location of errors
- parsing of errors in end of rules
etisserant [Mon, 04 Aug 2008 15:14:25 +0200] rev 135
Fixed generation of VARIABLES.csv, some variables appeared in program section
lbessard [Wed, 23 Jul 2008 11:44:39 +0200] rev 134
Fixed some uncatched errors and error bounds in error messages
lbessard [Fri, 18 Jul 2008 14:44:07 +0200] rev 133
Some bugs on syntax checking tests fixed
etisserant [Thu, 17 Jul 2008 19:08:28 +0200] rev 132
Updated tests so that they compile again :-)
lbessard [Thu, 17 Jul 2008 19:07:28 +0200] rev 131
Adding some human-readable error messages
etisserant [Thu, 17 Jul 2008 19:07:26 +0200] rev 130
Fixed missing return in XOR operator code gen.
etisserant [Thu, 17 Jul 2008 19:06:53 +0200] rev 129
removed __print statements. Not supposed to be in std lib.
etisserant [Thu, 17 Jul 2008 19:06:20 +0200] rev 128
Changed located global variable declaration and init to reflec recent change on located vars (pointers)
etisserant [Thu, 17 Jul 2008 17:03:06 +0200] rev 127
added some type handling tools in iec_std_lib. To be tested
etisserant [Sat, 28 Jun 2008 19:03:08 +0200] rev 126
*** empty log message ***
lbessard [Fri, 27 Jun 2008 09:36:40 +0200] rev 125
Modifying time qualifier in SFC to take real time enlapsed instead of theoric period time
lbessard [Fri, 27 Jun 2008 09:29:27 +0200] rev 124
Bug on __TIME_CMP fixed
lbessard [Wed, 25 Jun 2008 18:47:07 +0200] rev 123
Fixed some issues on:
- parsing string compare symbols
- retricting operation available on enumerated types
etisserant [Mon, 23 Jun 2008 18:02:09 +0200] rev 122
Support for extern pointer for located variables
lbessard [Mon, 19 May 2008 14:07:31 +0200] rev 121
Adding support for POU struct definition in POUS.h
Adding program instanciated in configuration definition into VARIABLE.h
lbessard [Wed, 16 Apr 2008 09:49:28 +0200] rev 120
Bug with D and L action qualifier and timing management in SFC generated fixed
lbessard [Fri, 11 Apr 2008 10:53:38 +0200] rev 119
Bug with C code generation for SFC when more than one sfc_network in one sequential_function_chart fixed
lbessard [Tue, 08 Apr 2008 18:21:37 +0200] rev 118
Problem with negated literals while compiling generated C file on 32bits systems fixed
lbessard [Thu, 03 Apr 2008 18:29:14 +0200] rev 117
Bug on located variables without name declaration fixed
lbessard [Thu, 03 Apr 2008 18:28:10 +0200] rev 116
Changing SFC Transitions, Steps and Actions types
lbessard [Fri, 28 Mar 2008 10:06:20 +0100] rev 115
Adding support to distinguish direct variables and pointed variables
etisserant [Wed, 05 Mar 2008 09:26:42 +0100] rev 114
cast fir gcc4 fix in lib
etisserant [Thu, 28 Feb 2008 18:10:42 +0100] rev 113
right name for TOFF is TOF according to 61131
etisserant [Thu, 28 Feb 2008 18:10:01 +0100] rev 112
changed VARIABLES.h in VARIABLES.cvs
lbessard [Tue, 26 Feb 2008 10:59:48 +0100] rev 111
Adding structure variable list generation module
etisserant [Mon, 11 Feb 2008 10:26:35 +0100] rev 110
added *.depend to .cvsignore
mario [Sat, 09 Feb 2008 08:59:05 +0100] rev 109
Regression tests. Not yet finished...
mario [Sat, 09 Feb 2008 08:57:14 +0100] rev 108
Regression tests. Test correct parsing of identifiers.
etisserant [Fri, 08 Feb 2008 14:38:20 +0100] rev 107
Fixed headers of generated code
greg [Tue, 29 Jan 2008 09:32:02 +0100] rev 106
add debian dir to create debian package
greg [Thu, 17 Jan 2008 16:13:51 +0100] rev 105
add Makefile for cygwin under Vista
greg [Wed, 16 Jan 2008 17:03:29 +0100] rev 104
changes in setup.py to filter "exe" files and the and the "lib" directory
greg [Tue, 15 Jan 2008 10:53:18 +0100] rev 103
add setup.py to build windows installer
lbessard [Wed, 02 Jan 2008 18:17:38 +0100] rev 102
Modifications for supporting String corrrections on PLCOpenEditor
lbessard [Mon, 10 Dec 2007 16:25:42 +0100] rev 101
Removing useless comment printout
etisserant [Sun, 09 Dec 2007 18:58:55 +0100] rev 100
Windows related enhancements
etisserant [Fri, 07 Dec 2007 09:32:58 +0100] rev 99
aligned CXXFLAGS with CFLAGS
lbessard [Thu, 06 Dec 2007 18:01:58 +0100] rev 98
Adding support for derived data types.
Already tested:
- Directly
- Enumerated
- Subrange
- Array
mario [Sat, 17 Nov 2007 10:08:38 +0100] rev 97
adding comments.
-----------------------------------------------------------
mario [Sat, 17 Nov 2007 09:44:14 +0100] rev 96
Adding some basic error cheching.
mario [Sat, 17 Nov 2007 09:20:44 +0100] rev 95
Changing format of error reporting.
mario [Fri, 16 Nov 2007 15:48:34 +0100] rev 94
Fixing some more comments.
mario [Fri, 16 Nov 2007 15:12:21 +0100] rev 93
Cleaning up comments.
mario [Fri, 16 Nov 2007 13:47:41 +0100] rev 92
Small fix to previous commit.
mario [Fri, 16 Nov 2007 13:45:14 +0100] rev 91
Cleaning up some bison rules.
mario [Thu, 15 Nov 2007 15:43:34 +0100] rev 90
Cleaning up comments.
mario [Thu, 15 Nov 2007 15:41:52 +0100] rev 89
Cleaning up comments.
mario [Thu, 15 Nov 2007 10:42:34 +0100] rev 88
Adding location data to new transition_condition_c.
lbessard [Thu, 15 Nov 2007 10:21:19 +0100] rev 87
Bug on SFC transition parsing and generation fixed
mario [Wed, 14 Nov 2007 18:59:47 +0100] rev 86
Adding support for use of PRIORITY as identifier inside SFC.
mario [Wed, 14 Nov 2007 08:54:25 +0100] rev 85
Fixing handling of enumeration values;
Adding syntax check in formal and non-formal FB invocations
Cleaning up some rules.
mario [Sat, 10 Nov 2007 07:12:12 +0100] rev 84
fixing 'priority' in SFC.
mario [Thu, 08 Nov 2007 15:19:51 +0100] rev 83
commenting out code no longer required. To be deleted later.
mario [Sun, 04 Nov 2007 18:25:30 +0100] rev 82
Adding some comments.
mario [Sat, 03 Nov 2007 15:37:07 +0100] rev 81
removing debug messages left by mistake in previous commit.
mario [Sat, 03 Nov 2007 15:34:22 +0100] rev 80
fixing bug in handling of PRIVATE token.
mario [Sat, 03 Nov 2007 15:33:53 +0100] rev 79
fixing buf in FOR control variable.
mario [Fri, 02 Nov 2007 19:16:04 +0100] rev 78
removing 'identifier' from definition of symbolic_variable
mario [Thu, 01 Nov 2007 20:58:56 +0100] rev 77
adding some comments.
mario [Thu, 01 Nov 2007 20:58:38 +0100] rev 76
fixing include bug (only ocured for includes in main program file).
mario [Thu, 01 Nov 2007 09:42:33 +0100] rev 75
Fixing handling of task initialisation.
mario [Sun, 28 Oct 2007 22:44:20 +0100] rev 74
fixing identifier issues of PRIORITY, SINGLE, and INTERVAL
mario [Sun, 28 Oct 2007 22:03:27 +0100] rev 73
fixing infinite error loops at library level, and ...
mario [Sun, 28 Oct 2007 20:15:54 +0100] rev 72
Fixing small bug when determining ST or IL language
mario [Sun, 28 Oct 2007 16:07:52 +0100] rev 71
fixing formal function invocation in IL
lbessard [Wed, 24 Oct 2007 17:39:51 +0200] rev 70
Change generate_cc to generate_c
mario [Tue, 23 Oct 2007 10:35:58 +0200] rev 69
Adding basic error checking.
mario [Tue, 23 Oct 2007 10:33:09 +0200] rev 68
Adding basic error checking.
mario [Tue, 23 Oct 2007 10:28:50 +0200] rev 67
CVS Test - removed blank line
lbessard [Wed, 17 Oct 2007 17:51:24 +0200] rev 66
Bugs on SFC generation fixed
lbessard [Fri, 05 Oct 2007 17:58:44 +0200] rev 65
Lots of bugs fixed
etisserant [Fri, 05 Oct 2007 10:24:39 +0200] rev 64
Fixed Bitwise negation in ST