News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Are we going to 64 bit Assembly?

Started by frktons, July 23, 2010, 11:38:57 AM

Previous topic - Next topic

frktons

Recentely INTEL and AMD are only producing 64 bit processors.
Of course this is going to be the next step along the Software developing
process as well.

We are actually using MASM32 that is a fairly perfect tool to learn
Assembly and to dive a little into the machine code crunching.

I'd like to ask to experienced Assembly programmers like many of you are,
What kind of tools are we going to use in the next few years?

What good 64 bit assembler projects are around and specifically what do
you prefer to use for 64 bit Assembly for your personal developing projects
and work? Also you can comment why you prefer to use HLA/GOASM/MASM/...

Thanks
Mind is like a parachute. You know what to do in order to use it :-)

cork

On a related note, I was reading recently how only 1% of Vista installs were 64-bit and how 47% of Window 7 installs were 64-bit.

ecube

GOASM is great for 64bit because you don't have to change much

invoke MessageBox,0,'hello','title',MB_OK works on both fine because it auto converts the calling convention for you, it also auto converts eax,ecx etc.. to rax,rcx. Frame is auto convereted, Donkey has a 64bit switch in the headers you can set aswell so that it auto uses the corrected structures. i'm adding a auto code converter to, to my preprocessor so I literally won't have to change anything but maybe a few things manually from 32bit code for 64bit :D haha.

The only thing missing is the 64bit SEH which jeremy says hes workin

frktons

Quote from: E^cube on July 23, 2010, 12:57:44 PM
GOASM is great for 64bit because you don't have to change much

invoke MessageBox,0,'hello','title',MB_OK works on both fine because it auto converts the calling convention for you, it also auto converts eax,ecx etc.. to rax,rcx. Frame is auto convereted, Donkey has a 64bit switch in the headers you can set aswell so that it auto uses the corrected structures. i'm adding a auto code converter to, to my preprocessor so I literally won't have to change anything but maybe a few things manually from 32bit code for 64bit :D haha.

The only thing missing is the 64bit SEH which jeremy says hes workin

I've started reading some stuff from jeremy docs, just to have an idea,
and it looks quite good and promising.

What do you mean with:


The only thing missing is the 64bit SEH which jeremy says hes workin
?
Mind is like a parachute. You know what to do in order to use it :-)

ecube

Well it doesn't have some high level directives like .if, .elseif etc... but jeremys workin on built in ones and i've written preprocessor ones which i'll release when I fix something. But in regards to session handling it changed drastically from 32bit to 64bit, instead of on the stack I believe it's an addition to the peheader. Granted if you're on xp+ you can just use AddVectoredExceptionHandler which is > SEH and regular exception handlers, greater in that it recieves crashes before the other two, and the fact you can add as many different handlers as you want!

BogdanOntanu

Yes I am slowly moving towards x64. With my own written assembler that has INVOKE and .IF .ELSEIF .ENDIF and MACRO's and all other HLL goods that I need.

I am running x64 every day already.

Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

dedndave

32 bits forever !!!!!
:P
well - until after i am dead and gone, at least

frktons

Quote from: BogdanOntanu on July 23, 2010, 04:13:23 PM
Yes I am slowly moving towards x64. With my own written assembler that has INVOKE and .IF .ELSEIF .ENDIF and MACRO's and all other HLL goods that I need.

I am running x64 every day already.

My pc is X64, my OS is win7 64, but I'm not  :P

Quote from: dedndave on July 23, 2010, 04:14:17 PM
32 bits forever !!!!!
:P
well - until after i am dead and gone, at least

I suppose you were involved in 16 bit assembly as well some decades
ago  :bg - you never know, maybe one day you just get rid of win xp,
32 bit stuff and start moving 64 bit, even if you'd be a bit older than now  :P

I'm just learning, so I have to  look ahead as well while I try to put a couple
of mov together.
Mind is like a parachute. You know what to do in order to use it :-)

dedndave

QuoteI suppose you were involved in 16 bit assembly as well some decades ago

shooooooooooot - i remember the 4004   :lol  (great for BCD math)
probably still have one in the shed
i know i have several 8008's

frktons

Quote from: dedndave on July 23, 2010, 05:31:30 PM
shooooooooooot - i remember the 4004   :lol  (great for BCD math)
probably still have one in the shed
i know i have several 8008's

Maybe, under the hood, Hutch is working for a MASM64 package...
By the way, many young programmers are building stuff of that kind
and Microsoft will do a working ML64 someday.  Stay tuned, 64 is
coming  :8)
Mind is like a parachute. You know what to do in order to use it :-)

dedndave

Quoteunder the hood, Hutch is working for a MASM64 package

yah - but i don't think he is going to forget us 32-bit guys   :bg

FORTRANS

Quote from: dedndave on July 23, 2010, 05:31:30 PM
shooooooooooot - i remember the 4004   :lol  (great for BCD math)
probably still have one in the shed
i know i have several 8008's

Hi,
   Well ya got me beat.  Fairchild F8 was my first.  From
the chip sheets the 8008 did not look too nice.  How did
you like it?

Regards,

Steve N.

dedndave

it was no pleasure - lol
thing about the 4004 and 8008 was they needed to be surrounded by a bunch of support chips to get going
there was very little large-scale integration back then
the 8080 was a little better - and, at the same time, more of the functions started appearing in LSI
things like disc controllers, USARTS, etc - in early days, that was all done with discrete logic
and - you needed a 5V power sub-station - lol - we used TTL, which was power hungry
(before TTL, there was RTL and DTL which were just as power hungry, but much slower)

KeepingRealBusy

Try Vacuum Tubes. I still have a few of those hidden away in a box somewhere.

Dave.

frktons

Well my first was a Honeywell 58, :dazzled: god bless me. 
Now I prefer x64 and in ten years x128 as well.  :P
Mind is like a parachute. You know what to do in order to use it :-)