News:

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

how to convert the C to asm

Started by Eric4ever, March 21, 2006, 01:54:40 AM

Previous topic - Next topic

Eric4ever

I just want to rrwrite and change the code to asm format:
VOID CHANGE( PTCHAR FistName, PTCHAR SendName )
{
   TCHAR      new[MAX_PATH];
   PTCHAR      tmp;
   DWORD      result;

   _tcscpy( SendName, FistName );
   tmp = _tcsrchr( SendName, _T('\\'));
   result = (lastSlash - SendName)/sizeof(TCHAR);
.
.
.
}

asmfan

actually each C/C++ compiler, i can say for MS and Borland/Inprise, can produce .asm files from .c/.cpp files if you specify the appropriate compiler option. use /? to find out the option specification and then analyze the .asm... Best regards,
Igor
Russia is a weird place