flat assembler
Message board for the users of flat assembler.

Index > Windows > how to convert a 64bit floating-point to qword?

Author
Thread Post new topic Reply to topic
nazha



Joined: 05 Mar 2009
Posts: 40
Location: Beijing, China
nazha
how to convert a 64bit ieee754 floating-point to a qword decimal?

_________________
Assembly Asker
Post 29 Aug 2009, 08:09
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Do you mean qword integer?

Code:
fld [source]
fistp [dest]

source dq 3.1416
dest   rq 1 ; Will be three    
Post 29 Aug 2009, 15:13
View user's profile Send private message Reply with quote
nazha



Joined: 05 Mar 2009
Posts: 40
Location: Beijing, China
nazha
Yes, thank you.

_________________
Assembly Asker
Post 30 Aug 2009, 00:56
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.