News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

jwasm compilation problem / jwlink

Started by mikeburr, September 15, 2017, 11:49:15 PM

Previous topic - Next topic

mikeburr

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

GoneFishing

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 or here

mikeburr

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

aw27

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: