28 Commits

Author SHA1 Message Date
NishiOwO
7208813af1
probably masm 5.10 feature 2025-04-02 09:21:21 +09:00
Ilya V. Matveychikov
a5c4ea03cc
Merge pull request #216 from jg1uaa/master
add OpenBSD support, clean-up FreeBSD/APPLE #ifdef
2025-01-10 11:43:06 +03:00
SASANO Takayoshi
edb21a8a42 add OpenBSD support, clean-up FreeBSD/APPLE #ifdef 2025-01-03 15:41:42 +09:00
MatNieuw
7218960b65
Change OpenWatcom makefiles to be multiplatform, so they work on both Linux and OS/2. (#209) 2022-12-25 09:36:18 +08:00
Anton Kochkov
45f69e4b96
Create appveyor.yml 2019-03-26 14:55:01 +08:00
Ilya V. Matveychikov
26f97c8b5c
Merge pull request #205 from deroko/cmake-support
Add cmake support
2017-11-22 08:26:46 +03:00
Anton Kochkov
556c270aca Next attempt to fix AppVeyor 2017-11-22 11:00:46 +08:00
Anton Kochkov
5a8e756705 Attempt to fix AppVeyor build 2017-11-22 10:52:55 +08:00
deroko
a1ba044299 This closes #202 issue when using x64 binaries on Linux/Mac to proper… (#204)
* This closes #202 issue when using x64 binaries on Linux/Mac to properly encode mov reg, imm64
* add stdint.h
2017-11-22 10:32:58 +08:00
deroko
24a2d80e60 add cmake support 2017-11-21 23:18:46 +01:00
Serg Stetsuk
9f257e0b33 .errdef/.errndef with or without custom message
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.
2017-03-06 20:03:17 +04:00
Ilya V. Matveychikov
4d3b8e80f4 Do not use argv[0] while parsing command line.
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.
2016-09-14 23:24:50 +03:00
Ilya V. Matveychikov
644f39971f Merge pull request #200 from qwordAtGitHub/issue152and156
Fix for issue 152 and 156
2016-05-07 12:00:31 +03:00
qWord
33e0c070c7 Reuse of equates in CreateVariable was erroneous
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
2016-05-06 19:31:13 +02:00
qWord
7338d820d4 Fix broken HIGHWORD-operator
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
2016-05-06 18:32:43 +02:00
Anton Kochkov
aa6cbc8fcf Fix building for MSVC
When the path to VCINSTALLDIR contains spaces
2015-11-06 13:58:11 +03:00
Maijin
6adf25fc83 Update travis with linux & osx clang 2015-11-05 01:18:41 +03:00
Anton Kochkov
0872180ec2 Fix building under TinyC compiler 2015-11-05 01:12:54 +03:00
pancake
43f233cd6a Fix OSX build 2015-11-04 22:58:46 +01:00
Ilya V. Matveychikov
3b4ec5258f Fix notes produced by clang compiler
note: use '==' to turn this assignment into an equality comparison
2015-07-30 19:11:43 +03:00
Ilya V. Matveychikov
ad7507fd7f Fix nice typo found by clang compiler
H/types.h:4:9: warning: '_TYPES_H_INCLUDED' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
2015-07-30 18:38:24 +03:00
Ilya V. Matveychikov
077dd6e74a Allow to use CLANG instead of GCC 2015-07-30 18:37:24 +03:00
Ilya V. Matveychikov
1402d5b5d2 Fix implicit function declaration warning 2015-07-28 01:04:43 +03:00
Anton Kochkov
313d577377 Add autotests to the Travis CI 2015-07-28 00:38:30 +03:00
Anton Kochkov
9e74caf15d Move regression tests out 2015-07-27 18:22:35 +03:00
Anton Kochkov
4cf3526562 Ignore more build files 2015-07-27 18:02:18 +03:00
Anton Kochkov
ca52c90399 Add Travis CI build configuration 2015-07-27 17:33:36 +03:00
Anton Kochkov
2d5853b0c2 Importing sources from JWasm212s_140105.zip 2014-06-18 19:16:56 +04:00