Author Topic: Masm 64 bit  (Read 6426 times)

Gunther

  • Member
  • *****
  • Posts: 2636
  • Forgive your enemies, but never forget their names
    • View Profile
Masm 64 bit
« on: February 06, 2013, 06:13:03 PM »
Which SDK must I download to get the 64 bit masm and the linker? Thank you.

Gunther
Get your facts first, and then you can distort them.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 1783
  • Mnemonic Driven API Grinder
    • View Profile
    • The MASM32 SDK
Re: Masm 64 bit
« Reply #1 on: February 06, 2013, 07:05:39 PM »
Gunther,

Its been a while since I have downloaded a Microsoft SDK but the last one had ML64.EXE and the 64 bit linker. Vaguely I remember there were different directories for the x86 and 64 bit tools.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

sinsi

  • Member
  • ****
  • Posts: 575
    • View Profile
Re: Masm 64 bit
« Reply #2 on: February 06, 2013, 07:09:13 PM »
I think the earliest SDK with ml64 was the server 2003 r2 release, http://www.microsoft.com/en-au/download/details.aspx?id=6510
The later SDKs all have ml64 but impose a minimum version, 5.2 I think.
I can walk on water but stagger on beer.

Gunther

  • Member
  • *****
  • Posts: 2636
  • Forgive your enemies, but never forget their names
    • View Profile
Re: Masm 64 bit
« Reply #3 on: February 06, 2013, 09:43:19 PM »
Thank you, Steve and sinsi. I've downloaded the SDK and found ml64.exe and link.exe. Both files are very hidden.

Gunther
Get your facts first, and then you can distort them.

Vortex

  • Member
  • *****
  • Posts: 1165
    • View Profile
Re: Masm 64 bit
« Reply #4 on: February 07, 2013, 05:44:08 AM »
I remember that ml64's HLL statement support is weak.

Gunther

  • Member
  • *****
  • Posts: 2636
  • Forgive your enemies, but never forget their names
    • View Profile
Re: Masm 64 bit
« Reply #5 on: February 07, 2013, 07:16:38 AM »
Hi Erol,

I remember that ml64's HLL statement support is weak.

that's true, but I need mainly the linker.

Gunther
Get your facts first, and then you can distort them.

qWord

  • Member
  • *****
  • Posts: 1139
  • The base type of a type is the type itself
    • View Profile
    • SmplMath macros
Re: Masm 64 bit
« Reply #6 on: February 07, 2013, 07:35:09 AM »
that's true, but I need mainly the linker.
you can also use the 32 bit version of link.exe to link 64 bit modules.
FPU in a trice: SmplMath
It's that simple!
MREAL macros - when you need floating point arithmetic while assembling!

Gunther

  • Member
  • *****
  • Posts: 2636
  • Forgive your enemies, but never forget their names
    • View Profile
Re: Masm 64 bit
« Reply #7 on: February 07, 2013, 08:29:56 AM »
Hi qWord,

you can also use the 32 bit version of link.exe to link 64 bit modules.

good hint. Thank you.  :t

Gunther
Get your facts first, and then you can distort them.

Vortex

  • Member
  • *****
  • Posts: 1165
    • View Profile
Re: Masm 64 bit
« Reply #8 on: February 08, 2013, 06:32:40 AM »
Hi Gunther,

Did you try JWlink?

http://japheth.de/JWlink.html

Gunther

  • Member
  • *****
  • Posts: 2636
  • Forgive your enemies, but never forget their names
    • View Profile
Re: Masm 64 bit
« Reply #9 on: February 08, 2013, 06:38:10 AM »
Hi Erol,

Hi Gunther,

Did you try JWlink?

http://japheth.de/JWlink.html

could be a good alternative. Thank you for the link. I'm searching for an assembler and linker which is useable under Windows and Linux (64 bit). Gas and ld is one opportunity, jWasm and jWlink another. I've to find out how to install it on my Linux system.

Gunther
Get your facts first, and then you can distort them.

Vortex

  • Member
  • *****
  • Posts: 1165
    • View Profile
Re: Masm 64 bit
« Reply #10 on: February 08, 2013, 06:45:01 AM »
Hi Gunther,

The combination of JWasm and JWlink is a very good choice. You could also visit Bogdan's site to try the Solar Assembler :

http://oby.ro/sol_asm/sol_asm_download_bin.htm

Quote
SOLAR Assembler is a modern multipass macro assembler that can compile 16/32/64 bits code and runs on Windows, Linux, MacOSX and Solar_OS

Solar Assembler can create portable executables without the usage of a linker.

Greenhorn

  • Member
  • **
  • Posts: 93
    • View Profile
Re: Masm 64 bit
« Reply #11 on: February 08, 2013, 07:03:40 AM »
I've to find out how to install it on my Linux system.
There is no need to "install" them. Just copy the files into your home directory and it should work.
Try to execute them in the Terminal. If it's not working you maybe have to set it executable via chmod +x filename.
Edith said alternatively you can copy the files into /bin directory (you need root permissions to do that).

Gunther

  • Member
  • *****
  • Posts: 2636
  • Forgive your enemies, but never forget their names
    • View Profile
Re: Masm 64 bit
« Reply #12 on: February 08, 2013, 09:38:00 AM »
Hi Erol,

Hi Gunther,

The combination of JWasm and JWlink is a very good choice.

I know.

You could also visit Bogdan's site to try the Solar Assembler :

http://oby.ro/sol_asm/sol_asm_download_bin.htm

Quote
SOLAR Assembler is a modern multipass macro assembler that can compile 16/32/64 bits code and runs on Windows, Linux, MacOSX and Solar_OS

Solar Assembler can create portable executables without the usage of a linker.

That would be another good choice. Both tools (jWasm & SolAsm) are very good maintained and up to date, I think. I'll check out Bogdan's site, too. And the portable exe without a linker is a definitive advantage.

Gunther
Get your facts first, and then you can distort them.

Gunther

  • Member
  • *****
  • Posts: 2636
  • Forgive your enemies, but never forget their names
    • View Profile
Re: Masm 64 bit
« Reply #13 on: February 08, 2013, 09:42:10 AM »
Hi Greenhorn,

There is no need to "install" them. Just copy the files into your home directory and it should work.
Try to execute them in the Terminal. If it's not working you maybe have to set it executable via chmod +x filename.
Edith said alternatively you can copy the files into /bin directory (you need root permissions to do that).

Thank you. Good to know; I'll try your methods. That could be a better way then using as and ld, which are available under both operating systems. But that's another story: http://masm32.com/board/index.php?topic=1449.0.

Gunther
Get your facts first, and then you can distort them.

frktons

  • Member
  • ***
  • Posts: 491
    • View Profile
Re: Masm 64 bit
« Reply #14 on: February 08, 2013, 12:44:52 PM »
Hi Gunther,

The combination of JWasm and JWlink is a very good choice. You could also visit Bogdan's site to try the Solar Assembler :

http://oby.ro/sol_asm/sol_asm_download_bin.htm

Quote
SOLAR Assembler is a modern multipass macro assembler that can compile 16/32/64 bits code and runs on Windows, Linux, MacOSX and Solar_OS

Solar Assembler can create portable executables without the usage of a linker.

How is it possible to create a portable executable that uses different APIs
in LINUX-WIN-MAC...?
This assertion seems to contradict the first Assembly Language dogma: the
code [even source] written in Assembly is not portable among different systems.
This is why they invented C, mainly, to bypass that problem.
If this problem has been solved by Solar-ASM it is quite a good news.