以下是一段汇编代码,请用C语言实现相同功能。
.data SourceStringdb "Hello, World!",0 .code start: cld xoreax, eax movedi, offset SourceString mov al, 'd' movecx, 13 repnescas jz wow invokeExitProcess, 0 wow: invokeExitProcess, 1 end start




if (strstr (“Hello, World!”, “d”) != NULL)) exitProcess(1); exitProcess (0);