This this correct?
A displacement opcode is only needed if used with a SIB OR when the displacement is a direct address in mode 00?
Cheers,
Mike
x86 Displacement?
Re: x86 Displacement?
Hello,
The displacement byte is only used with indirect addressing modes so I believe you are correct.
The displacement byte is only used with indirect addressing modes so I believe you are correct.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}