flat assembler
Message board for the users of flat assembler.
Index
> Main > loading a floating point number directly |
Author |
|
madmatt 17 Sep 2004, 09:04
would it be possible to add this feature to fasm?
Code: fld dword [1.0] where the data would be defined in the data section of a windows program. |
|||
17 Sep 2004, 09:04 |
|
Matrix 17 Sep 2004, 09:30
but if you were thinking of loading 1.0 in to fpu regs, you should take a look at the fpu instructions, fpu knows 1 as a constant, it also knows pi, 0 and some more ( constants can be loaded with 1 instruction )
MATRIX |
|||
17 Sep 2004, 09:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.