The MASM Forum

64 bit assembler => 64 bit assembler. Conceptual Issues => Topic started by: mikeburr on September 15, 2017, 11:49:15 PM

Title: jwasm compilation problem / jwlink
Post by: mikeburr on September 15, 2017, 11:49:15 PM
like to try 64 bit programming .. used ml64 and link from microsoft amd SDK by simply renaming  ...which compiled [after a bit of struggling] and runs immediately terminating   Then i tried hjwasm64 which is my prefered compiler
here are the results ...
C:\masm64\examples\icz\tut16>\masm64\bin\rc.exe /r  tut_16.rc

C:\masm64\examples\icz\tut16>\hjwasm64\hjwasm64.exe -pe  -I\masm64\lib -I\masm64\include -Zf C:\masm64\examples\icz\tut16\tut_16.asm
HJWasm v2.28, Apr 21 2017, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

\masm64\include\temphls.inc(965) : Error A2199: Syntax error in control-flow directive
\masm64\include\temphls.inc(965): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(968) : Error A2209: Syntax error: J_POLY_COND
\masm64\include\temphls.inc(968): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(969) : Error A2162: Unmatched macro nesting
\masm64\include\temphls.inc(969): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(970) : Error A2199: Syntax error in control-flow directive
\masm64\include\temphls.inc(970): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(970) : Error A2082: Must be in segment block
\masm64\include\temphls.inc(970): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(970) : Error A2082: Must be in segment block
\masm64\include\temphls.inc(970): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(972) : Error A2082: Must be in segment block
\masm64\include\temphls.inc(972): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(974) : Error A2082: Must be in segment block
\masm64\include\temphls.inc(974): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(977) : Error A2209: Syntax error: J_POLY_COND
\masm64\include\temphls.inc(977): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code
\masm64\include\temphls.inc(978) : Error A2162: Unmatched macro nesting
\masm64\include\temphls.inc(978): Included by
  C:\masm64\examples\icz\tut16\tut_16.asm(3): Main line code

the temphls.inc file is 179kb
i would also like to use jwlink but cant find anywhere ?? maybe someone can help
Title: Re: jwasm compilation problem / jwlink
Post by: GoneFishing on September 16, 2017, 02:14:09 AM
Quote from: mikeburr on September 15, 2017, 11:49:15 PM
...
i would also like to use jwlink but cant find anywhere ?? maybe someone can help

You may find it here (https://web.archive.org/web/20141003032346/http://japheth.de/) or here (https://sourceforge.net/projects/jwlink/files/preliminary%20versions/)
Title: Re: jwasm compilation problem / jwlink
Post by: mikeburr on September 18, 2017, 02:16:23 AM
many thanks for jwlink link ... anyone any idea what the problem is with temphls.inc [old version of it ??]  ...should i repost this in Mikl's 64 bit icz tutorial section as you can prob see i thought id start 64 bit assembly compiling tutorial 16]   many thanks   mike b
Title: Re: jwasm compilation problem / jwlink
Post by: aw27 on September 18, 2017, 03:57:26 AM
Place this in your hjwasm source.

OPTION RENAMEKEYWORD:<.IF>=_IF
OPTION RENAMEKEYWORD:<.ELSE>=_ELSE
OPTION RENAMEKEYWORD:<.ENDIF>=_ENDIF

It was not tested and other errors may crop up as well.  :badgrin: