Liens
- Writing 64-bit programs
- Introduction to 64-bit programming:
- How easy is 64-bit programming?
- Differences between 32-bit and 64-bit executables
- Differences between Win32 and Win64 (for AMD64/EM64T)
- Differences between x86 and x64 processors:
- 64-bit programming in practice
- Changes to Windows data types
- Alignment requirements
- Windows structures in 64-bit programming
- Choice of register
- Zero-extension of results into 64-bit registers
- Sign-extension of results into qwords
- Automatic stack alignment
- Using the same source code for both 32 and 64-bits
- Converting existing 32-bit code to 64-bit
- Using AdaptAsm.exe to help with the conversion
- Some pitfalls to avoid when converting existing source code
- Switching using /x64 and /x86 in conditional assembly
- Assembling and linking to produce the executable
- Some code optimisation and refinement done by GoAsm
- Some tips to reduce the size of your code
- Demonstration files
- Hello64World1 (simple 64-bit console program)
- Hello64World2 (simple 64-bit windows program)
- Hello64World3 (switchable 32-bit or 64-bit windows program)
- More information, references and links
-
Wayne J. Radburn