home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / Z80MAC.ZIP / Z80MAC.DOC < prev   
Text File  |  1991-10-06  |  751b  |  36 lines

  1. ;
  2. ;Z80MAC.COM ON THIS DISK IS THE TDL RELOCATING Z80 MACRO ASSEMBLER,
  3. ;VERS. 1.21, FOUND AND RECOVERED FROM CPM USERS GROUP VOL 12 (OR WAS IT 24)
  4. ;AS AN ERASED FILE AND RESTORED BY DISK EDIT ON THE FILE DIRECTORY.
  5.  
  6. ;---------
  7. ;Example:
  8.  
  9.  
  10. ;test file for Z80Mac
  11. ;usage is: Z80MAC filename O
  12. ;the assembler expects a file-type of  .MAC
  13. ;the letter O is a switch to turn OFF the PRN listing
  14. ;    (B sends  .PRN to BOTH LST: and disk, D sends to disk only)
  15.  
  16.  .pabs   ;tells assembler to make INTEL hex format
  17.     ; (.HEX) file
  18.  
  19.  .loc 100h  ;sets org of program
  20.  
  21. start:
  22.  lxi d,msg
  23.  mvi c,9
  24.  call 5
  25.  jmp 0
  26. ;
  27. msg:
  28.  .ascii 'testing Z80Mac'
  29.  .byte 0dh,0ah
  30.  .ascii '$'
  31.  .byte 0
  32. ;
  33.  .end   ;defines end of program to assembler
  34.  
  35.  
  36.