The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Tam on April 28, 2007, 03:31:34 PM

Title: How to use float and double?
Post by: Tam on April 28, 2007, 03:31:34 PM
In masm, how to use float and double type(As c++)?
qword ?

fn proc flag:qword
    ret
fn endp

how to call the procedure ?
"invoke fn, 0.1 " can not work。
Title: Re: How to use float and double?
Post by: MichaelW on April 28, 2007, 03:43:04 PM
A similar question was answered here:

http://www.masm32.com/board/index.php?topic=3893.0

BTW, "fn" is the name of a MASM32 macro.

Title: Re: How to use float and double?
Post by: Tam on April 28, 2007, 03:47:03 PM
MichaelW, thank you!
by the way, can you tell me what is the "BTW"?
Title: Re: How to use float and double?
Post by: MichaelW on April 28, 2007, 04:01:25 PM
BTW = by the way
Title: Re: How to use float and double?
Post by: Tam on April 28, 2007, 04:08:03 PM
haha, I've said "by the way", but I don't know "BTW".
ha ha!