@echo offif not exist rsrc.rc goto over1\masm32\bin\rc /v rsrc.rc\masm32\bin\cvtres /machine:ix86 rsrc.res :over1 if exist "string.obj" del "string.obj"if exist "string.exe" del "string.exe"\masm32\bin\ml /c /coff "string.asm"if errorlevel 1 goto errasmif not exist rsrc.obj goto nores\masm32\bin\Link /SUBSYSTEM:WINDOWS "string.obj" rsrc.obj if errorlevel 1 goto errlinkdir "string.*"goto TheEnd:nores \masm32\bin\Link /SUBSYSTEM:WINDOWS "string.obj" if errorlevel 1 goto errlinkdir "string.*"goto TheEnd:errlink echo _echo Link errorgoto TheEnd:errasm echo _echo Assembly Errorgoto TheEnd:TheEnd pause
MOV EBX, 0AH MOV ECX, 0BH MOV BYTE PTR [buffer2+ECX], 00H MOV EAX, EDI Conversion: DEC ECX XOR EDX,EDX DIV EBX ADD DL,'0' MOV BYTE PTR [buffer2+ECX], DL CMP EAX, 00H JG Conversion