is there a 64 bit version of masm/nasm?
Posted on 2002-08-19 19:30:17 by Qages
.mmx
Posted on 2002-08-19 22:15:58 by comrade
depends on what you mean by '64 bit version'.

One answer is already given.

If you meant, 'is MASM ported to any 64 bit CPU?'
answer is 'NO'. Or, 'is NASM working on AMD Hammer?", then answer is, 'Yes, but...'.
AMD supports a certain development effort in order to push its (non-existent) product. From that site, I read (or, should I say, I remember I read) NASM is used for Hammer, but I have not seen any physical evidence (read, AMD contribution to NASM).

For other 64 bit processors, forget about MASM. Instead, try learning AT&T syntax assembly for your target. One free assembler I know is Intel's IA-64 assembler. For other architectures, I don't know any free assembler, though I heard of one free UltraSparc assembler and not-so-free GAS.
Posted on 2002-08-20 02:06:38 by Starless
im talking about a masm/nasm that can run on both ia-32, aa-64 and can compile programs for both; and instructions like (RAX,RBP,RSP) etc
Posted on 2002-08-20 12:34:31 by Qages
there's an IA64 assembler floating around Intel's site. Or check this site http://www.x86-64.org/

as for MASM and NASM I don't know as of the moment but MS will probably release a 64bit version of their assembler in the future.
Posted on 2002-08-20 13:05:13 by stryker
If I read the docs right on sandpile.org , there are some instructions (opcodes really), that differs from the AA-64 and IA-32. So if I got it right, and 32-bit app might not run on a AA-64 machine.
Or have I gotten it wrong (thus 64-bit CPUs runns 32-bit apps correctly)?
Posted on 2002-08-20 13:18:32 by scientica
AFAIK every new processor generation is able to execute program wroted for older generation, of course we are talking about processors with same architecture, x86 in this case
this was the case when 386 were introduced, every app writen for
286 or earlier could execute on it
so this should be the case in the future too

say if we suppose that this is not the case then a hell of a lot of programs should be rewriten
Posted on 2002-08-20 19:12:34 by Mikky
ive been reading about it and i came across some documentations. many instructions will be invalid in 64bit mode, i made a picture of the table. many programs use these, and will become unusable!!!!!!!!! btw in my post i mean that i want to compile x86-64 instructions for future use of my program. any x86-32bit compiler that does x86-64will do, ill copy the bytes it produses into my masm project.
Posted on 2002-08-20 19:34:50 by Qages