Speed up windows DLL file written in assembly language

Started by
1 comment, last by mmchandan 21 years, 9 months ago
I wrote a windows dll in assembly language and compile and link it using MASM32.the dll contains code for function doing simple arithmatic operation.I write the same function and made dll using visual c++ compiler.the dll produced by vc++ run faster then that produced by MASM32.How can i get my assembly level dll faster than vc++ dll.How can i specify bigger virtual memory size than default in assembly level programming?i use FLAT memory model and STDCALL calling convension. Save the world,save your neighbours,To survive yourself.
Save the world,save your neighbours,To survive yourself.
Advertisement
It''s not easy to beat a compiler. You might find some tricks here: Optimizing assembly code
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
Also don''t even other putting simple thigns in DLLs. I cause a tremendous overheading for loading ther DLL, calling the function, returning, and at the end of a program, unloading the DLL. I owuld really only use them for things that could be modified in the future.

This topic is closed to new replies.

Advertisement