In my function I use
__asm
{
mov ecx,dword ptr [0x28F1431]
mov ecx,ds:[0x28F14131]
}
which should produce the following bytes: 0x8B0D
(mov ecx, dword ptr []
). However the first instruction produces 0xB9
(mov ecx,0x28F14131
) and the second one 0x3E
:8B0D
So my question is, what instruction should I use to get the desired result inside the C++ __asm
?