GetErrText is not usable 'cause it overwrites StringBufferEnd. So we
must append text to StringBufferEnd. Not all checks as in GetErrText
are performed. So we have side effect: message can be in angle
braces or in quotes too.
Fixes#184.
When using jwasm with `JWASM=/path/to/jwasm -h` argv[0] will be
replaced with JWASM variable value. It leads to incorrect behaviour on
NIX systems because `/` acts as a switch character while parsing
command line options.
If an equate already exist CreateVariable did not zero bits 32...63
of that equate. This cause that the predefined macros SIZESTR
and INSTR return wrong values when the result-equate (for example)
did contain negative values before macro invocation.
Fixed by setting sym->value3264 to zero in case of reuse.
Resolves: #156 resp. SF-BUG-303
The HIGHWORD-Operator was implemented as right shift
by 16 of opnd1->value. This is wrong because:
- the bits 32...63 are not zeroed
- the compiler might do an arithmetic shift
(typeof opnd1->value == int_32)
As fix, the result of the right shift is masked (bitwise AND)
and then assigned to the 64 bit value opnd1->llvalue.
Resolves: #152 resp. SF-BUG-298