For :
1. reg,
2.
Thank you.
1. reg,
2.
Thank you.
Let me try to recall, that requires SIB, so the for modr/m the value in the m should be 100b. The S would be imm2, 0 for 1, 1 for 2, 2 for 4, 3 for 8.
For example mov eax, :
8B, 00:000:100 b , 10:011:000b
For example mov eax, :
8B, 00:000:100 b , 10:011:000b