Author Topic: Bug repport  (Read 12336 times)

habran

  • Member
  • *****
  • Posts: 1145
    • uasm
Re: Bug repport
« Reply #15 on: February 05, 2016, 04:49:37 PM »
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)
« Last Edit: February 05, 2016, 07:45:41 PM by habran »
Cod-Father

ToutEnMasm

  • Member
  • *****
  • Posts: 1190
    • EditMasm
Re: Bug repport
« Reply #16 on: February 05, 2016, 06:50:24 PM »
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

  • Member
  • *****
  • Posts: 1050
  • Gone fishing
Re: Bug repport
« Reply #17 on: February 05, 2016, 07:11:31 PM »

johnsa

  • Member
  • ****
  • Posts: 679
    • Uasm
Re: Bug repport
« Reply #18 on: February 05, 2016, 08:31:49 PM »
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

  • Member
  • *****
  • Posts: 1145
    • uasm
Re: Bug repport
« Reply #19 on: February 05, 2016, 08:41:20 PM »
I just want to remind you again that you must ad option EVEX : 1 if you want to assemble EVEX instructions
Code: [Select]
option casemap : none
option win64 : 11
option frame : auto
option STACKBASE : RSP
option EVEX : 1          ;//this line is for EVEX instructions
Cod-Father

ToutEnMasm

  • Member
  • *****
  • Posts: 1190
    • EditMasm
Re: Bug repport
« Reply #20 on: February 10, 2016, 05:36:05 AM »
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

  • Member
  • *****
  • Posts: 1145
    • uasm
Re: Bug repport
« Reply #21 on: February 12, 2016, 02:11:18 PM »
讲英文的请
Cod-Father

johnsa

  • Member
  • ****
  • Posts: 679
    • Uasm
Re: Bug repport
« Reply #22 on: February 12, 2016, 08:15:06 PM »
讲英文的请

Well that was informative :) lol

ToutEnMasm

  • Member
  • *****
  • Posts: 1190
    • EditMasm
Re: Bug repport
« Reply #23 on: February 14, 2016, 12:21:08 AM »
Couldn't say more than the linker !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Fa is a musical note to play with CL

dedndave

  • Member
  • *****
  • Posts: 8787
  • Still using Abacus 2.0
    • DednDave
Re: Bug repport
« Reply #24 on: February 14, 2016, 12:23:31 AM »
fatal error LNK1107: invalid or corrupt file: cannot read at 0xAA2

habran

  • Member
  • *****
  • Posts: 1145
    • uasm
Re: Bug repport
« Reply #25 on: February 14, 2016, 08:22:37 AM »
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

ToutEnMasm

  • Member
  • *****
  • Posts: 1190
    • EditMasm
Re: Bug repport
« Reply #26 on: February 25, 2016, 07:24:49 PM »
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
Code: [Select]
.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

  • Member
  • *****
  • Posts: 1145
    • uasm
Re: Bug repport
« Reply #27 on: February 25, 2016, 07:38:43 PM »
Where is FRAME ::)
Cod-Father

johnsa

  • Member
  • ****
  • Posts: 679
    • Uasm
Re: Bug repport
« Reply #28 on: February 25, 2016, 08:42:03 PM »
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

  • Member
  • ****
  • Posts: 748
Re: Bug repport
« Reply #29 on: February 26, 2016, 12:25:32 AM »
Does 32bit link.exe support OMF object file?