flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > mov [eax], 1.0 (in 1.71.27+) |
Author |
|
revolution 05 Jun 2016, 05:14
I think the existence of the error is correct but the error text is misleading. To guarantee you get what you want you should put the size override on the destination:
Code: mov dword[eax],value Code: mov byte[eax],3.1415926 ;value cannot fit |
|||
05 Jun 2016, 05:14 |
|
Tomasz Grysztar 05 Jun 2016, 07:43
Yes, the error message is incorrect here, it should be like in the "mov [eax],10" case. The size operator has to be required to distinguish "mov dword [eax],1.0" and "mov word [eax],1.0", the latter is allowed since the introduction of F16C instructions.
|
|||
05 Jun 2016, 07:43 |
|
dunkaist 05 Jun 2016, 16:18
Thank you for quick replies! I'll update existing code.
|
|||
05 Jun 2016, 16:18 |
|
Tomasz Grysztar 09 Jun 2016, 10:36
I have corrected the handling of this error in 1.71.54.
|
|||
09 Jun 2016, 10:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.