News:

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

Main Menu

HJWasm Releases

Started by johnsa, January 16, 2016, 08:24:52 AM

Previous topic - Next topic

nidud

#30
deleted

jj2007

Quote from: habran on January 20, 2016, 02:27:33 PM
>jj2007, are you sure that you are using the newest HJWasm, please check command outpt

Mystery solved, I had used HJWasm instead of HJWasm32 :(

Sorry...

Grincheux

Where can I find a version of JWAsm that compiles without false errors
I always have the same errors:

QuoteC:\JWasm\Bin\JWASM.EXE -9 -Fl -c -zlf -zlp -zls -W3 -coff -Cp /I"C:\JWasm\Include" "ASD.asm"
HJWasm v2.13.64bit.pre, Jan 14 2016, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.


***********
ASCII build
***********

\masm32\include\Windows.inc(20234) : Error A2209: Syntax error: 0,0,0,0,0,0
\masm32\include\Windows.inc(20234): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20235) : Error A2209: Syntax error: 0,0,0,0,0,1
\masm32\include\Windows.inc(20235): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20236) : Error A2209: Syntax error: 0,0,0,0,0,2
\masm32\include\Windows.inc(20236): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20237) : Error A2209: Syntax error: 0,0,0,0,0,3
\masm32\include\Windows.inc(20237): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20238) : Error A2209: Syntax error: 0,0,0,0,0,4
\masm32\include\Windows.inc(20238): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20241) : Error A2209: Syntax error: 0,0,0,0,0,5
\masm32\include\Windows.inc(20241): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20254) : Error A2209: Syntax error:  3E7h, 0h
\masm32\include\Windows.inc(20254): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20255) : Error A2209: Syntax error:  3e6h, 0h
\masm32\include\Windows.inc(20255): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\winextra.inc(3959) : Error A2209: Syntax error:  81h, 2bh, 1fh, 0a4h, 0beh, 0a3h, 10h, 19h,09dh, 6eh, 0h, 0ddh, 01h, 0fh, 54h, 02h
\masm32\include\winextra.inc(3959): Included by
  \masm32\include\Windows.inc(26889): Included by
   ASD.inc(4): Included by
    ASD.asm(6): Main line code
\masm32\include\winextra.inc(4111) : Error A2209: Syntax error: 098h, 15h, 0ACh, 08h, 0AAh, 0B0h, 10h, 1Ah,8Ch, 093h, 08h, 0h, 2Bh, 2Ah, 56h, 0C2h
\masm32\include\winextra.inc(4111): Included by
  \masm32\include\Windows.inc(26889): Included by
   ASD.inc(4): Included by
    ASD.asm(6): Main line code
Utils.asm(86) : Warning A4265: Procedure argument or local not referenced: _hWnd
Utils.asm(86): Included by
  ASD.inc(216): Included by
   ASD.asm(6): Main line code
Cpu.asm(703) : Warning A4265: Procedure argument or local not referenced: __hWnd
Cpu.asm(703): Included by
  ASD.inc(217): Included by
   ASD.asm(6): Main line code
ASD_Exit.asm(133) : Warning A4265: Procedure argument or local not referenced: __lParam
ASD_Exit.asm(133): Included by
  ASD.inc(219): Included by
   ASD.asm(6): Main line code
Disassembly_Dlg.asm(597) : Warning A4265: Procedure argument or local not referenced: __lParam
Disassembly_Dlg.asm(597): Included by
  ASD.inc(220): Included by
   ASD.asm(6): Main line code
Disassembly.asm(254) : Warning A4265: Procedure argument or local not referenced: _lpszRegister
Disassembly.asm(254): Included by
  ASD.inc(222): Included by
   ASD.asm(6): Main line code
ASD.asm(429) : Warning A4265: Procedure argument or local not referenced: __cmdshow
ASD.asm(429) : Warning A4265: Procedure argument or local not referenced: __lpszCmdline
ASD.asm(429) : Warning A4265: Procedure argument or local not referenced: __hPrevInstance
ASD.asm: 473 lines, 1 passes, 337 ms, 8 warnings, 10 errors

Make error(s) occured.
Total compile time 421 ms
Kenavo (Bye)
----------------------
Help me if you can, I'm feeling down...

TouEnMasm


------------- Where can I find a version of JWAsm that compiles without false errors ? ----------------------
http://masm32.com/board/index.php?topic=4256.msg45375#msg45375
Fa is a musical note to play with CL

fearless

must have an older windows.inc file

mine shows for position 20234 onward:

SUBLANG_URDU_PAKISTAN equ 01h   
SUBLANG_URDU_INDIA equ 02h   
SUBLANG_UZBEK_LATIN equ 01h   
SUBLANG_UZBEK_CYRILLIC equ 02h   



johnsa

Quote from: Grincheux on January 21, 2016, 02:34:26 AM
Where can I find a version of JWAsm that compiles without false errors
I always have the same errors:

QuoteC:\JWasm\Bin\JWASM.EXE -9 -Fl -c -zlf -zlp -zls -W3 -coff -Cp /I"C:\JWasm\Include" "ASD.asm"
HJWasm v2.13.64bit.pre, Jan 14 2016, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.


***********
ASCII build
***********

\masm32\include\Windows.inc(20234) : Error A2209: Syntax error: 0,0,0,0,0,0
\masm32\include\Windows.inc(20234): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20235) : Error A2209: Syntax error: 0,0,0,0,0,1
\masm32\include\Windows.inc(20235): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20236) : Error A2209: Syntax error: 0,0,0,0,0,2
\masm32\include\Windows.inc(20236): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20237) : Error A2209: Syntax error: 0,0,0,0,0,3
\masm32\include\Windows.inc(20237): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20238) : Error A2209: Syntax error: 0,0,0,0,0,4
\masm32\include\Windows.inc(20238): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20241) : Error A2209: Syntax error: 0,0,0,0,0,5
\masm32\include\Windows.inc(20241): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20254) : Error A2209: Syntax error:  3E7h, 0h
\masm32\include\Windows.inc(20254): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\Windows.inc(20255) : Error A2209: Syntax error:  3e6h, 0h
\masm32\include\Windows.inc(20255): Included by
  ASD.inc(4): Included by
   ASD.asm(6): Main line code
\masm32\include\winextra.inc(3959) : Error A2209: Syntax error:  81h, 2bh, 1fh, 0a4h, 0beh, 0a3h, 10h, 19h,09dh, 6eh, 0h, 0ddh, 01h, 0fh, 54h, 02h
\masm32\include\winextra.inc(3959): Included by
  \masm32\include\Windows.inc(26889): Included by
   ASD.inc(4): Included by
    ASD.asm(6): Main line code
\masm32\include\winextra.inc(4111) : Error A2209: Syntax error: 098h, 15h, 0ACh, 08h, 0AAh, 0B0h, 10h, 1Ah,8Ch, 093h, 08h, 0h, 2Bh, 2Ah, 56h, 0C2h
\masm32\include\winextra.inc(4111): Included by
  \masm32\include\Windows.inc(26889): Included by
   ASD.inc(4): Included by
    ASD.asm(6): Main line code
Utils.asm(86) : Warning A4265: Procedure argument or local not referenced: _hWnd
Utils.asm(86): Included by
  ASD.inc(216): Included by
   ASD.asm(6): Main line code
Cpu.asm(703) : Warning A4265: Procedure argument or local not referenced: __hWnd
Cpu.asm(703): Included by
  ASD.inc(217): Included by
   ASD.asm(6): Main line code
ASD_Exit.asm(133) : Warning A4265: Procedure argument or local not referenced: __lParam
ASD_Exit.asm(133): Included by
  ASD.inc(219): Included by
   ASD.asm(6): Main line code
Disassembly_Dlg.asm(597) : Warning A4265: Procedure argument or local not referenced: __lParam
Disassembly_Dlg.asm(597): Included by
  ASD.inc(220): Included by
   ASD.asm(6): Main line code
Disassembly.asm(254) : Warning A4265: Procedure argument or local not referenced: _lpszRegister
Disassembly.asm(254): Included by
  ASD.inc(222): Included by
   ASD.asm(6): Main line code
ASD.asm(429) : Warning A4265: Procedure argument or local not referenced: __cmdshow
ASD.asm(429) : Warning A4265: Procedure argument or local not referenced: __lpszCmdline
ASD.asm(429) : Warning A4265: Procedure argument or local not referenced: __hPrevInstance
ASD.asm: 473 lines, 1 passes, 337 ms, 8 warnings, 10 errors

Make error(s) occured.
Total compile time 421 ms

The console output shows your version dated the 14th of January. There was a subsequent update from the 17th which resolved this issue, items declared using {}.

The binary packages are available to download at : http://www.terraspace.co.uk/hjwasm.html

TWell

In H2INCX.INI x64 reserved words are missing ? Like FRAME ?

johnsa

H2INCX is supplied "as-is" from Japheth's site so I haven't really looked at any part of it, I don't believe we have source for it either.

Perhaps someone else who has used it more extensively can comment on this? I'm sure it would be possible to just add these missing reserved words to the ini file if it's required. If that is the case and we compile a list of them I'll happily update the ini and archive on our site.

habran

ToutEnMasm, Wake up :biggrin:
The binary packages are available to download at : http://www.terraspace.co.uk/hjwasm.html
Pay atention:HJWasm not JWasm

>JJ2007, I new that 007 is for James Bond :biggrin:

>nidud, thanks, I'll test it
Cod-Father

jj2007

Some timings for building the MasmBasic library:
mlv615 ; 7.0 secs
HJWasm32 ; 6.3 secs
JWasm ; 3.0 secs
asmc ; 2.3 secs


and for the RichMasm editor (>17k lines):
HJWasm32 ; 1.0 secs
JWasm ; 0.8 secs
asmc ; 0.7 secs

Grincheux

QuoteC:\JWasm\Bin\JWASM.EXE -9 -Fl -c -zlf -zlp -zls -W3 -coff -Cp /I"C:\JWasm\Include" "ASD.asm"
HJWasm v2.13.64bit., Jan 17 2016, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

That's OK
Kenavo (Bye)
----------------------
Help me if you can, I'm feeling down...

nidud

#41
deleted

johnsa

Quote from: jj2007 on January 21, 2016, 06:36:59 AM
Some timings for building the MasmBasic library:
mlv615 ; 7.0 secs
HJWasm32 ; 6.3 secs
JWasm ; 3.0 secs
asmc ; 2.3 secs


and for the RichMasm editor (>17k lines):
HJWasm32 ; 1.0 secs
JWasm ; 0.8 secs
asmc ; 0.7 secs


I wonder if the timings would differ due to the compiler / C library implementation used. Habran do you recall off-hand which compiler/build-chain Japheth used for the Windows versions?
I can't think that the changes added thus far would slow the build down that much, apart from some extra keywords to lookup against in the tokenisation phase.

jj2007

Quote from: nidud on January 21, 2016, 07:27:02 AMJJ, assuming the test is done on a 64-bit OS could you run a test to see if there is any difference between the 32 and 64-bit version?

RichMasm source:
HJWasm32 ; 1000 ms
HJWasm64 ; 920 ms
JWasm ; 858 ms
asmc ; 733 ms


The library builds in 5.2 seconds instead of 6.3 for HJWasm32.

Btw I use AsmC for my long sources now, especially for testing the library. Two seconds instead of six makes a big difference. But still, I could imagine that AsmC could become faster by using some of the well-tested bread & butter algos, such as MB Len() and Instr_(FAST, ...).

Quote from: johnsa on January 21, 2016, 08:18:51 AM... some extra keywords to lookup against in the tokenisation phase.

Have a look at this C++ std::map case-insensitive 'find' post. Still work in progress, but it's blazing fast already.

johnsa

Quote from: nidud on January 21, 2016, 07:27:02 AM
I tested the 64-bit version with the same result so it's not 32/64-bit issue. This is the files not deleted from the TMP directory:

..      DATA7    err OFFSET6  err
ENDIAN BIN DLL64    err OPATTR6  err
ENDIAN2 BIN EQUATE18 err OPER64   err
EXPANS37 BIN EQUATE4  err PRIV64   err
EXPANS40 BIN EXPR5    err PROC642  err
INOUT BIN INDIR1   err PUSH64   err
INVOKE38 BIN INSTR64  err PUSH642  err
MEMANY BIN INVOK641 err RECORD3  err
MOVDQ16 BIN INVOK642 err SHIFT641 err
MOVDQ32 BIN INVOK643 err SHLD    err
RTCOND3 BIN INVOK644 err SIGNIM64 err
STRING2 BIN INVOK645 err SSE464   err
STRING3 BIN INVOK646 err STRUCT29 err
STRING64 BIN INVOK648 err STRUCT37 err
STRUCT02 BIN INVOK649 err STRUCT41 err
VARAR642 BIN INVOK64A err VMX641   err
VARARG64 BIN LARLSL64 err VMX642   err
ALIGN3 err MACRO27  err JWasm    exe
ARITH641 err MOV64    err DBGCV    obj
AVX1 err MOV642   err LINNUM   obj
AVX2 err MOV644   err STRUCT29 obj
AVX3 err MOV645   err
AVX4 err MOVDQ64  err
AVX641 err MOVSP16  err
CALL3 err MOVSPEC  err
CALL64 err MOVSPEC2 err
CVTXX64 err MOVSX64  err


JJ, assuming the test is done on a 64-bit OS could you run a test to see if there is any difference between the 32 and 64-bit version?

What is the regression test actually comparing? The instruction encodings at a binary level?