	title	Module from library BASE_2 : STRCOM
	name	('STRCOM')
	maclib	baselib.lib

; Output a string to selected device

; Copyright (C)	Werner Cirsovius
;		Hohe Weide 44
;		D-20253 Hamburg
;		Tel.: +49-40-4223247

;		Version 1.0 August 1986

; ENTRY	Reg pair <DE> holds string address
;	See module COMOUT for further details

; EXIT	None

	entry	strcom

	extrn	comout

strcom:
	push	de
	call	str?		; .. do the job
	pop	de
	ret
str?:
	ld	a,(de)		; Get character
	inc	de
	cp	eot		; Test end
	ret	z		; .. yeap
	call	comout		; Print normal
	jr	str?		; .. not yet end

	end

