
























Assembler Samples
MakeGray.zip is a MFC dialog-based application project
which is a test of using inline assembler in Windows application. There are three functions
which convert a coloured picture to gray by three way. One is in pure C++, the second in i386 assembler
and the third uses some MMX instructions. There is also a comparison of different compilers, these
are MS C++ compiler, Intel C++ compiler and GCC.
Mem.zip This sample demonstrates how it is possible to speed up
a program using old DOS graphics by writing the color values direct into a memory at 0xA000 address
(size = 1 segment).
LBSOFT Inc. Copyright (C) 2009