To the Top


Last Modified: October 30 2020 14:33:16
File:  root - programs - 80x86_batch - 2008 - 5 - tiny.bat
File Size: 0.62KB


  1. @echo off
  2. if "%1"=="" goto help
  3. if not exist "%1.asm" goto notfound
  4. if exist "%1.obj" del "%1.obj"
  5. if exist "%1.com" del "%1.com"
  6. ml /c /Cp /I"c:\masm32\include" %1.asm
  7. if errorlevel 1 goto errorasm
  8. echo. |doslnk /tiny %1.obj
  9. if errorlevel 1 goto errorlnk
  10. goto ok
  11. :help
  12. echo USUAGE: %0 [FILE WITH not EXTENSION]
  13. echo PROGRAMMED BY ZHIHUA LAI, 2008 APRIL
  14. goto end
  15. :notfound
  16. echo %1.asm not FOUND.
  17. goto end
  18. :errorlnk
  19. echo ERROR LINK %1.obj
  20. goto end
  21. :errorasm
  22. echo ERROR ASSEMBLE %1.asm
  23. goto end
  24. :ok
  25. echo DONE!
  26. goto end
  27. :error
  28. echo %1.asm not FOUND!
  29. :end

Comments (0)

    Be the first one to comment this page !


Page Edited: May 11 2024 14:36:49 | RSS Subscription
How to Cook a Perfect Steak? | <meta name="robots" content="noindex, follow" />