0
내가 인라인 어셈블리를 사용하여 JMP 명령어를 삽입하기 위해 노력하고있어하지만 내가 말하는 오류를 얻을 :C++ 인라인 어셈블리 오류
"예상 표현"
// Allocate a place in memory for the bytes
BYTE *jmp = (BYTE*)malloc(len + 5);
// Copy the bytes of original + length to the allocated memory place:
memcpy(jmp, orig, len);
// Next we want to insert a jump back to the original + length
jmp += len; // increment to the end of the copied bytes
jmp[0] = _asm JMP // this is where i get the error
*(DWORD*)(jmp + 1) = (DWORD)(orig + len - jmp) - 5;
내가 어셈블리에 새로운 오전 싶습니다 이 목표를 다른 방법으로 달성하는 방법을 알고 있어야합니다.