home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / asmutl / asmsubs.lbr / M80.ZEX < prev    next >
Encoding:
Text File  |  1985-02-09  |  1.1 KB  |  39 lines

  1. ;
  2. ;  M80.ZEX -- MACRO-80 Assembler and Linker
  3. ;     Up to 4 Libraries Specified
  4. ;
  5. ;  ^& Suppress FALSE IF Printout
  6. ;
  7. if nul $1 ;note Print Error Message
  8. echo ** Name of File to Assemble Required **
  9. else      ;note Perform Assembly
  10. M80 =$1
  11. if input Abort if Errors Exist
  12. ERA $1.BAK
  13. ERA $1.COM
  14. if ~nul $5 ;note Link 4 Additional Libraries
  15. L80 /P:100,$1,$2/S,$3/S,$4/S,$5/S,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E
  16. goto done
  17. fi
  18. if ~nul $4 ;note Link 3 Additional Libraries
  19. L80 /P:100,$1,$2/S,$3/S,$4/S,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E
  20. goto done
  21. fi
  22. if ~nul $3 ;note Link 2 Additional Libraries
  23. L80 /P:100,$1,$2/S,$3/S,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E
  24. goto done
  25. fi
  26. if ~nul $2 ;note Link 1 Additional Library
  27. L80 /P:100,$1,$2/S,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E
  28. goto done
  29. else       ;note Standard Link
  30. L80 /P:100,$1,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E
  31. ;=done          Done with Link
  32. fi         ;note on IF ~NUL Tests
  33. fi         ;note on IF INPUT
  34. ERA $1.REL
  35. fi         ;note on IF NUL
  36. ;
  37. ;  Assembly Complete
  38. ;
  39.