However, the calling convention between the two does not work. I have tried calling a test function from my C file built with MSVC:
Code: Select all
printInt(asm_test(324));Code: Select all
extern uint32_t asm_test(uint32_t test);Code: Select all
global asm_test
asm_test:
mov eax, dword [rcx]
add dword [eax], 200#
retI'm using the microsoft x64 calling convention here as per the page on calling conventions but evidently it doesn't work.
Could anyone tell me what the problem here is? Do I need to specify flags when assembling under yasm?
Thank you very much in advance,
Heemogoblin

