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
Wrap
Text File
|
1991-10-06
|
751b
|
36 lines
;
;Z80MAC.COM ON THIS DISK IS THE TDL RELOCATING Z80 MACRO ASSEMBLER,
;VERS. 1.21, FOUND AND RECOVERED FROM CPM USERS GROUP VOL 12 (OR WAS IT 24)
;AS AN ERASED FILE AND RESTORED BY DISK EDIT ON THE FILE DIRECTORY.
;---------
;Example:
;test file for Z80Mac
;usage is: Z80MAC filename O
;the assembler expects a file-type of .MAC
;the letter O is a switch to turn OFF the PRN listing
; (B sends .PRN to BOTH LST: and disk, D sends to disk only)
.pabs ;tells assembler to make INTEL hex format
; (.HEX) file
.loc 100h ;sets org of program
start:
lxi d,msg
mvi c,9
call 5
jmp 0
;
msg:
.ascii 'testing Z80Mac'
.byte 0dh,0ah
.ascii '$'
.byte 0
;
.end ;defines end of program to assembler