bits 64 default rel segment .text global getVal getVal: call rcx mov rcx,2h add eax,ecx mov rcx,3h add eax,ecx mov rdx,4h mov edx,edx mov rcx,5h add edx,ecx add eax,edx ret