NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: Flo on June 17, 2017, 01:20:04 PM
-
Hello there,
I have an instruction:
divsd xmm0, qword [ebp-0x18]
I get this error on the line where this instruction is located: "error: mismatch in operand sizes"
However
movsd xmm2, qword [ebp-0x18]
seems to compile without an error.
Code is generated with "libudis86"
Why this is code wrong?
Edit:
However
divsd xmm0, [ebp-0x18]
Seems to result in the expected code
-
Hi Flo,
Dunno. Nasm only seems happy with no size specifier at all. Seems to me that it might be a bug(?).
(Thanks for your answers to other questions here!)
Best,
Frank