My professor wanted to show us how to decode instructions, as an example he took (at&t syntax):
movq $8, 4(%rdx,%rsi,4)
I'm quit lost on why he chose the opcode to be C7.
From an online table I found:
C7- move imm32 to r/m32 or imm32 (sign extended to 64 bits) to r/m64
How he figured out it's sign extended, plus why we are moving 32 imm? The instruction is so clear it's movq
not movl