mov ecx, DWORD PTR [esp+4]
mov edx, 100
mov eax, 300
cmp ecx, 0
cmovne eax, edx
ret

IntelC++7.1