I use Code::Blocks with the "Microsoft Visual C++ Toolkit 2003" compiler and I've imported a project made in VC++.
There is some code in assembler and it doesn't compile.
_asm
{
mov edi,h.mDstP
mov esi,h.mSrcP
mov ecx,h.mRunLength
copyloop:
movzx eax,WORD PTR [esi]
add esi,4
mov [edi],ax
add edi,2
dec ecx
jnz copyloop
mov h.mDstP,edi
mov h.mSrcP,esi
}
The compiler doesn't know what _asm is.
How can I compile the assembler code?Do u have any ideas? I'd appreciate some help