flat assembler
Message board for the users of flat assembler.
Index
> Main > push 64 bit immediate value? |
Author |
|
LocoDelAssembly 23 Sep 2008, 23:01
Code: val = 1.0 push val shr 32 push val and $FFFFFFFF |
|||
23 Sep 2008, 23:01 |
|
bitshifter 23 Sep 2008, 23:37
Yep, that works nice, i didn't realize you could concatenate like that.
Since this value is constant we don't need to calculate it at run-time. I guess now what i need to do is write a little program that takes a 32 bit input value and displays the high and low 32 bit parts after casting it into 64 bits. Thanks LocoDelAssembly, you have been great! |
|||
23 Sep 2008, 23:37 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.