| Win 32 Assembly |
| by <>GemThie§<> |
This sites purpose is to spread the word of the usefulness and capability
of Win32Assembly.
Therefore I will provide Links to useful resources on the web and tips
for beginners.
As you may have realized todays programs tend to get bigger and more
complicated to handle
on every new release. This is the result of the commercialisation of
the software industry. They
are forced to shorten their development cycles which is the reason
for these non-optimized
programs most of us are forced to use (thanx to Micro$oft).
Okay that means we have to use oversized and buggy programs. But it
doesn't means that we are
forced to develop such programs by ourselves. If you are a developer
of software by yourself
and you are not forced to create programs on the fly but on the other
hand are interested in writing
highly sophisticated (not necessarily complicated) code, Win32 Assembly
could be the solution for
you. An example: A simple program showing a basic Window compiles in
a 8 K program using
Visual Basic 5.0, a program doing the same using MASM32 has a size
of 2.6 K !! And of course
the Win32Asm program doesn't need to ship the 1.2 MB VB-Library (msvb50.dll)!
What can you do with Win32 ASM?
Wrong question! The question is, what can't you do with it?
Basically, you can do all the things you can do with those High Level
Languages (HLL) like VB or
VC++. As you use the Windows API like them, you have the same limitations
they have.
What do you need?
Basically you will need one of the Win32 Assembler out there on the
web, Borlands TASM (>4.0)
or Microsofts(?) MASM 32. Yes, you're right, that's funny that Microsoft
itself has produced a
tool with which you are able to create faster and more compact code
than with other Programming
Languages like Visual C++ or Visual Basic. FYI, they have hidden this
program very well and it
wasn't greatly announced either.
Recommendation: I like MASM32
(basically because I couldn't get my hands on TASM 5.0 yet :-)
Don't forget to download the MASM Libraries and the Windows Include
file. You need them.
The MASM Help file is also useful.
For understanding what's going on in the sample programs you find in
the internet and for your own
programs, you will need a Windows API Reference. THIS IS ESSENTIAL!
As Microsoft doesn't provides one, you have to use Borlands
Delphi 2 API Help (about 8MB).
Installation Instructions for MASM 32
Install the program in the root directory e.g. c:\masm32 or e:\masm32.
Some Batchfiles you will need
for compiling your programs have links to MASM installed in the root
directory.
IMPORTANT: change (at least) the bldall.bat
to be continued..........................
For questions you can reach me at: [email protected]