flat assembler
Message board for the users of flat assembler.
Index
> Main > Initializing 10 bytes to zero |
| Author |
|
|
bitRAKE 13 Sep 2026, 11:04
From the manual ...
Quote: dt accepts the word and quad word value separated with colon, the quad word is stored first. The dt directive with single expression as parameter accepts only floating point values and creates data in FPU double extended precision format. |
|||
|
|
revolution 13 Sep 2026, 12:31
More specifically, to place zero do this:
Code: _PBCD_res dt 0:0 Code: _PBCD_res dt 0.0 |
|||
|
|
Byte 13 Sep 2026, 14:19
Thanks, everyone.
But it’s strange—zero should be zero everywhere, regardless of whether it’s an integer or a floating-point number. |
|||
|
|
revolution 13 Sep 2026, 14:42
There isn't any 10 byte integer format in x86. It is segment¹(16)+offset(64).
There is a 10 byte FP format in x86. ¹aka selector |
|||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.