Step Into Labs

Step Into x64 Assembly · Lesson 9 · Windows x64

The Win64 Calling Convention in Depth

Floating-point arguments in xmm registers, mixed arguments, varargs, alignment, and what you see in real Win32 disassembly.

Part of Step Into x64 Assembly. The full lesson, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.

Every function in Windows, from your own code to kernel32 and ntdll, follows the same rules. Knowing them by heart is what makes Windows disassembly readable.

In this lesson

Missions

  1. Doubles in xmm registers
  2. Mixed arguments
  3. A fifth double
  4. A double through printf
  5. Prove the alignment