When I write to a register, everything is fine,
movq $0xffffffffffffffff, %rax
But I get Error: operand size mismatch when I write to a memory location,
movq $0xffffffffffffffff, -8(%rbp)
Why is that? I see in compiled C code that in asm these numbers are split in two and two movl instructions show up.
Maybe you can tell me where the mowq and other instructions are documented.