fibers icon indicating copy to clipboard operation
fibers copied to clipboard

Microsoft ABI argument passing order

Open SparkyPotato opened this issue 4 years ago • 0 comments

In the Microsoft ABI, the first (leftmost) argument must be passed in rcx, while the second argument must be passed in rdx. However, you have written them in the opposite order, with rdx being assumed as the first argument, and rcx the second.

SparkyPotato avatar Feb 15 '21 14:02 SparkyPotato