Author Topic: 64-bit MASM SDK  (Read 4201 times)

Ravi Kiran

  • Regular Member
  • *
  • Posts: 33
Re: 64-bit MASM SDK
« Reply #15 on: November 02, 2021, 01:17:41 AM »
Is this any better ?
VC.14.29.16.11.Tools.HostX86.TargetX64
This link is not opening in my Android  chrome browser. Server address not found. Sir plz post a valid link.

TimoVJL

  • Member
  • *****
  • Posts: 1002
Re: 64-bit MASM SDK
« Reply #16 on: November 02, 2021, 01:28:17 AM »
It was copy/paste problem :sad:
May the source be with you

jj2007

  • Member
  • *****
  • Posts: 12481
  • Assembler is fun ;-)
    • MasmBasic
Re: 64-bit MASM SDK
« Reply #17 on: November 02, 2021, 01:31:44 AM »
Is this any better ?
VC.14.29.16.11.Tools.HostX86.TargetX64

Now ML64.exe works, and it's only about 40% slower than UAsm :thumbsup:

Version 14.29.30136.0 of 23.9.2021

@Ravi: This solves your problem. Download from Timo's link and open the file as an archive, e.g. with 7-Zip; then look inside for ML64.exe and its accompanying files (link.exe, DLLs, ...)

You may change the extension from *.vsix to *.zip to open it with another archiver.

Ravi Kiran

  • Regular Member
  • *
  • Posts: 33
Re: 64-bit MASM SDK
« Reply #18 on: November 02, 2021, 01:54:01 AM »
Is this any better ?
VC.14.29.16.11.Tools.HostX86.TargetX64

Now ML64.exe works, and it's only about 40% slower than UAsm :thumbsup:

Version 14.29.30136.0 of 23.9.2021

@Ravi: This solves your problem. Download from Timo's link and open the file as an archive, e.g. with 7-Zip; then look inside for ML64.exe
Thank you sir
« Last Edit: May 17, 2022, 02:45:10 PM by Ravi Kiran »

mineiro

  • Member
  • ****
  • Posts: 855
Re: 64-bit MASM SDK
« Reply #19 on: November 02, 2021, 05:39:08 AM »
UASM and AsmC assemble
Pure masm syntax or it's syntax is different? I've just downloaded it
Now from GitHub. Is it possible to link uasm assembled object files
With VS link.exe. I don't know much about cross assemblers and cross compilers.
Yes.
An assembler can create object files; linker will got that group of object files, check library files and create final executable in their respective format (.exe,.dll,.sys.ocx,... ).
From this point of view, you can use any assembler with respective lib/linker to create final executable.
Uasm/Asmc/Jwasm are macro assemblers based in masm/intel syntax/notation with a few modifications.
You told that you have some SDK's files/binaries in your machine, you can also use that.
I'd rather be this ambulant metamorphosis than to have that old opinion about everything

Vortex

  • Member
  • *****
  • Posts: 2658
Re: 64-bit MASM SDK
« Reply #20 on: November 02, 2021, 05:54:50 AM »
Hello,

Timo's suggestion is very good. The .vsix file offers the binaries including ml64 and the C\C++ compiler.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9375
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: 64-bit MASM SDK
« Reply #21 on: November 02, 2021, 10:09:02 AM »
ravi,

Use the Host x86, Host x64 is very slow.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

TimoVJL

  • Member
  • *****
  • Posts: 1002
Re: 64-bit MASM SDK
« Reply #22 on: November 02, 2021, 06:44:50 PM »
speed depends version
in small test with 14.29.30136.0  0.123 / 0.93 x64 was winner.
May the source be with you

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9375
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: 64-bit MASM SDK
« Reply #23 on: November 02, 2021, 06:51:24 PM »
Would be interesting to see what your test was. I have used ML64 for close on 5 years and the host 64 version has a bad lag where the 32 bit version does not.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

TimoVJL

  • Member
  • *****
  • Posts: 1002
Re: 64-bit MASM SDK
« Reply #24 on: November 02, 2021, 07:21:02 PM »
Here my test material

HostX64
Resources

EDIT: ml64.test.zip
« Last Edit: November 02, 2021, 11:24:51 PM by TimoVJL »
May the source be with you

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9375
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: 64-bit MASM SDK
« Reply #25 on: November 02, 2021, 08:22:31 PM »

14.29.30133

A:\ml64tst>_RunCmdTime.exe "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64\ml64.exe" -c DynDlgTest_x64.asm
'_RunCmdTime.exe' is not recognized as an internal or external command,
operable program or batch file.

A:\ml64tst>_RunCmdTime.exe "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\ml64.exe" -c DynDlgTest_x64.asm
'_RunCmdTime.exe' is not recognized as an internal or external command,
operable program or batch file.

A:\ml64tst>PAUSE
Press any key to continue . . .
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

TimoVJL

  • Member
  • *****
  • Posts: 1002
Re: 64-bit MASM SDK
« Reply #26 on: November 02, 2021, 08:30:45 PM »
_RunCmdTime.exe should be in ml64_test.zip

EDIT:
using include \masm32\include64\masm64rt.inc in test, x64 version use odd additional 3 seconds, so better use of 32-bit host version.
Host-X64 don't like macros  :undecided:
« Last Edit: November 02, 2021, 11:10:50 PM by TimoVJL »
May the source be with you

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9375
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: 64-bit MASM SDK
« Reply #27 on: November 02, 2021, 11:11:29 PM »
This is what is in the zip file.

02/11/2021  07:18 PM               334 TestSpeeds_ml64.cmd
02/11/2021  11:09 PM               338 TestSpeeds_ml64.zip
               2 File(s)            672 bytes
               0 Dir(s)   8,353,693,696 bytes free
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9375
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: 64-bit MASM SDK
« Reply #28 on: November 02, 2021, 11:28:42 PM »
I just did the test on a 75k editor, host 32 version builds in under a second, host 64 version builds in about 10 seconds.

I did this test by copying both ML64 versions directly into the bin64 directory of MASM32.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

morgot

  • Member
  • **
  • Posts: 115
Re: 64-bit MASM SDK
« Reply #29 on: November 17, 2021, 03:53:31 AM »
hutch--,
but if I publish these files, to whom will Microsoft claim - to you (because you are forum owner) or to me? Because if to me, I don't care, I'm not afraid of Microsoft and Biden ))
Sorry for the bad English