Re: Windows 32 & 64 bit Assembly



For win64 assembly, here is the most useful link in my opinion.
http://blogs.msdn.com/freik/archive/category/12430.aspx
This is FreiK's blog, he is an x64 guru for Windows and works for MSFT.
The second blog in which he outlines the differences between x86 and
x64 ABI , there are many links to the x64 ABI in this blog, and some
pretty good useful information.
x64 == AMD64

If you, in the course of your work with win64 at any point of time, get
in touch with him personally, then I would recommend you ask him for a
pdf(or similar) ABI document if it exists, because that would just be
great for other programmers.

I would also suggest you get a list of NT API calls for Windows. If you
search on this group for NT API, you will find articles and links for
up-to-date NT API calls. Since you want to stick to Windows native
assembly, this is the closest you can get. These are equivalent to
system calls on *BSD or GNU/Linux (in unistd.h). There is however the
Win64 API which is like the Win32 API, i.e a user-interface sitting on
top of the NT Kernel, but then using assembly to do Win64 API calls is
pointless as you will be a faster programmer if you use a higher (than
assembly) level language like C instead (in my opinion).

Regards,
Vikas

bwaichu{at}yahoo.com wrote:
I am in the process of writing some assembly code for *BSD amd64, and
I would like to write the similiar code for windows.

What are good resources for windows assembly? Ideally, I would like to
be
able to practice some reverse engineering of window patches in the
future,
so I want to stick as close to native windows assembly as possible.

Thanks!

.



Relevant Pages

  • Re: Windows 32 & 64 bit Assembly
    ... This is FreiK's blog, he is an x64 guru for Windows and works for MSFT. ... I would also suggest you get a list of NT API calls for Windows. ...
    (alt.lang.asm)
  • Re: As programmers...have we come a long way since 1993?
    ... If 'win64', as the main OS of PC users, ... is notably different in compatibility with old win32 software then ... the case Win64 should be largely tolerant of win32, ... > Look at Windows XP and Windows 2000, with that very scary DCOM exploit. ...
    (comp.programming)
  • Re: D8 may be 32 bit only
    ... > This also brings up the point the .NET IS NOT THE WINDOWS API OF THE ... so how could Win64 be the new native API? ...
    (borland.public.delphi.non-technical)
  • Re: The Future of native code
    ... the API targeted for 64-bit versions of Windows" ... But I still wonder about the future of native Delphi in the Win32 world. ... So, even risking being wrong as it can be dangerous to do "futurology" in IT, I'd say that CodeGear has enough Win32 and Win64 around for a few more decades. ... And if that runtime somehow fails to install, how well do you think those users will be able to "fix" it? ...
    (borland.public.delphi.non-technical)
  • Re: Why 64bit Delphi compiler from Borland may be meaningless!
    ... There is a kind of emulation layer called WOW (Windows on Windows) ... There is *already* a Win64 compiler from Microsoft that takes your ... to win64 native with the beta version of win64 platform sdk. ...
    (borland.public.delphi.non-technical)