News:

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

Welcome to the 64 bit Sub Forum

Started by hutch--, April 15, 2006, 08:51:16 AM

Previous topic - Next topic

hutch--

A number of members have indicated that they are interested in having a sub forum for the coming 64 bit x86 hardware. there is no garrantee that you will get an answer as this is still a developing area both in assembler and OS design but at least you have somewhere to post it.  :bg
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

MazeGen

I'm a newbie in 64-bit programming, but I try to reply to answers, as MASM 64 became my basic development tool.

hutch--

Karel,

If you have some 64 bit code going, it would be interesting to see what it looks like.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

MazeGen

Just a few points for now:

Important articles:

These versions of ML64 came to my knowledge:

  • 8.00.2207.0: One of the very first versions. Doesn't support many features.
  • 8.00.40310.49: Comes with PSDK Windows Server 2003 R2 and Windows DDK. This version contains at least one annoying bug and therefore is unusable for real coding!
  • 8.00.40607.16: Came with VS2005 beta 1. I didn't test it, probably buggy.
  • 8.00.50215.44: Came with VS2005 beta 2. Seems to be as stable as the following.
  • 8.00.50727.42: The latest version from VS2005. PROC directive doesn't support new calling convention, more see below.

Some features of ML64:

  • The only possible calling convention is the new win64 FASTCALL
  • PROC directive doesn't support this convention :(, it behaves as STDCALL convention
  • PROTO is supported, INVOKE is not supported

Manhattan have offered me some macros to enable FASTCALL procedures, but their syntax is ugly. I'll see if I can simplify the syntax.

Credit: Thanks to Manhattan for most of these informations.

Mark Jones

"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

tofu-sensei

I also hacked together some macros to automate creation of proper prologue and epilogue code, setting up the stack and add a (kinda crude) way to access local variables. Still need to figure out how to implement exception handlers that actually do something useful ;)

MazeGen

tofu-sensei,

I would be very interested in your macros. Could you post them here (and allow their modification)?

tofu-sensei

Sure. I'll whip up a simple example and post them in a separate thread.

MazeGen

I'm looking forward to your macros and examples  :U