News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Dear Math and FPU-Experts - help needed!

Started by cobold, August 16, 2008, 03:47:03 AM

Previous topic - Next topic

V Coder

QuoteThe crux of the computation is unchanged. 11 seconds for all results.
Yes, it's really fast, certainly faster than my program.

I'll check it out again.

V Coder

Where can I download stdio.inc please?

I guess it can be compiled with ml fibfun.asm...

Or can you post a compiled version.

Thanks.


dedndave

if you go to Andreas' site...

http://www.japheth.de/

and download WinInc
look for it on the left - then bottom of page - v2.0
it includes stdio.inc and probably stddef.inc and stdio.lib and and and....

V Coder


dedndave

not sure about that one - lol
i see drizz has used it in the past
maybe it's a winasm thing
or a drizz thing   :bg

you might look here...
http://drizz.has.it/

dedndave

found it
it's an Agner Fog thing   :U

http://www.agner.org/

more specifically...

http://www.agner.org/optimize/

scroll down until you find "Subroutine library"

brethren

if your talking about asmlib.inc and drizz then its drizz's own library of procedures. theres a version that comes with genesys plus you can get it here (its under downloads, stdlib for asm)
http://drizz.has.it/

drizz

The truth cannot be learned ... it can only be recognized.

V Coder

C:\Fibonacci\test>ml fibfun.asm
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: fibfun.asm
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/z2
"fibfun.obj"
"fibfun.exe"
NUL
LINK : warning LNK4044: unrecognized option "z2"; ignored
fibfun.obj : warning LNK4033: converting object format from OMF to COFF
LINK : fatal error LNK1181: cannot open input file "fibfun.exe"


So, I forget how to download ml 6.15. I know I had it on a different machine some time before.

Plus, what's that /z2

Cheers.

dedndave

http://www.4shared.com/file/-QIUp-BF/ML615.html

z2 - not sure
i am guessing here
it may be a JwAsm or GoAsm switch to enable debugging symbols
let me see if i can find reference

there are batch files in the \masm32\bin folder for assembling

buildc.bat is for building console mode programs:
buildc MyFile
for MyFile.asm - the .asm is not required
masm32\bin should be in the PATH environment variable

dedndave

z2...

well, i find several cases where others have had this switch error
but, i can't figure out where it comes from - lol
none of the batch files on my machine have z2 in them

japheth

Quote from: dedndave on December 07, 2010, 01:42:48 PM
z2...

well, i find several cases where others have had this switch error
but, i can't figure out where it comes from - lol

That's not very impressive, Dave!

The /z2 is hard-coded into ML.EXE v6.xx. I guess Masm launches LINK.EXE with this option ... and LINK has no idea what to do with it. A workaround is to feed Masm with the "-c" or the "-Bxxx" switch.


dedndave

lol - sorry if i didn't impress you   :P

no wonder i have never seen the error - i always assemble with /c switch