News:

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

Main Menu

Bug repport

Started by nidud, February 03, 2016, 01:51:30 AM

Previous topic - Next topic

habran

#15
Wasn't me :icon_eek:
I know who did it but I am not gonna tell you, no matter which CIA method you apply on me 8)
Cod-Father

TouEnMasm

I will wait and see..
It seems there is need to declare Hjwasm as a work in progress.
There is Need also to put a stable version of jwasm or Hjwasm somewhere .
for example ,http://www.terraspace.co.uk/hjwasm.html
Take piety for those who are discovering Hjwasm!.
Fa is a musical note to play with CL

GoneFishing

Quote from: ToutEnMasm on February 05, 2016, 06:50:24 PM
...
There is Need also to put a stable version of jwasm or Hjwasm somewhere .
...

http://sourceforge.net/projects/jwasm/files/JWasm%20Windows%20binary/

johnsa

Hi,

Git repository and binary packages have been updated on the website to include the fix for vblendvpd!
ToutEnMasm, let us know if that solves the issue.

The binary packages of hjwasm include the last release version of jwasm too (that was the main reason I kept it in the package for now - so that people could still download JWASM).
I haven't included Nidud's jwasm 2.12A (I believe he included the .while and highword fixes in that version, not sure what else changed?).

Cheers
John

habran

I just want to remind you again that you must ad option EVEX : 1 if you want to assemble EVEX instructions

option casemap : none
option win64 : 11
option frame : auto
option STACKBASE : RSP
option EVEX : 1          ;//this line is for EVEX instructions
Cod-Father

TouEnMasm

fatal error LNK1107: fichier non valide ou endommagé : impossible de lire à 0xAA2
without avx,32 bits prog
Fa is a musical note to play with CL

habran

Cod-Father


TouEnMasm

Couldn't say more than the linker !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Fa is a musical note to play with CL

dedndave

fatal error LNK1107: invalid or corrupt file: cannot read at 0xAA2

habran

Thank you Dave for translation :biggrin:
>ToutEnMasm, you have overestimated my capabilities, no matter how smart I am, I can't still make any conclusion out of the source you supplied in your post ::)
Cod-Father

TouEnMasm

Windows 10 test of the last Hjwasm version.
Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Microsoft Windows 10 Famille Version: 10.0.10586


Quote
HJWasm v2.13, Feb 13 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.

Translated Windows SDK 10.0 32 bits
essai_sdk.asm: 51 lines, 2 passes, 405 ms, 0 warnings, 0 errors


********************** FIN *********************

Link /SUBSYSTEM:CONSOLE essai_sdk.obj
I:\TestSdk
essai_sdk.obj : fatal error LNK1107: corrupted or invalid file: unable to read à 0x1FC


????????????????????????????????????????????????

code is very simple,32 bits

.NOLIST
;RECORD64 equ 1
include sdk32.inc
.const
includelib  msvcrt.lib
invalid_parameter PROTO C :DWORD,  :DWORD,  :DWORD,  :DWORD,  :DWORD
.data
invalid db "invalid parameter",0
.code
;################################################################
invalid_parameter PROC C expression:DWORD,function,file,line,pReserved
Local  retour:DWORD
mov retour,1
invoke MessageBox,NULL,ADDR invalid,NULL,MB_OK
Findeinvalid_parameter:
mov eax,retour
ret
invalid_parameter endp

;################################################################

main PROC C argc:DWORD,pargv:DWORD
; eax,sizeof ZIRP ;113f8h
;pour les fonctions sécurisées sprintf_s ......
invoke _set_invalid_parameter_handler,invalid_parameter
invoke _getch
mov eax,0
ret
main endp
end 


the object file is here,the error isn't random.All others source code give the same result

Fa is a musical note to play with CL

habran

Cod-Father

johnsa

Hi Tout,

What command line options are you using with hjwasm to create the object file?
Also can you confirm that the exact same configuration / compilation does or doesn't work with jwasm2.12a ?

TWell

Does 32bit link.exe support OMF object file?