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

; Output a string to console, closed by zero

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

;		Version 1.0 July 1987

; ENTRY	Reg pair <DE> holds string address

; EXIT	None

	entry	strcn0

	extrn	conout

strcn0:
	push	de
	call	str?		; .. do the job
	pop	de
	ret
str?:
	ld	a,(de)		; Get character
	inc	de
	or	a		; Test end
	ret	z		; ..yeap
	call	conout		; Print normal
	jr	str?

	end

