Asmc Macro Assembler Reference
LDR dst, param
Loads Register param if available.
Example:
foo proc c:int_t
ldr ecx,c
...
The action taken depends on calling convention.
Calling convention | Action |
---|---|
SYSCALL 64 | mov ecx,edi |
WATCALL 64 | mov ecx,eax |
FASTCALL 64 | nothing |
C/STDCALL 32 | mov ecx,c |