	assume cs:_text
_text	segment public byte 'code'
	public _jzwrtchr

_jzwrtchr   proc near

	push bp
	mov bp,sp
	mov ah,9		; display char in al
	mov al,[bp+4]		; get char to write
	mov bx,[bp+6]		; get attribute
	mov cx,[bp+8]		; get number of chars to write
	int 10h
	mov sp,bp
	pop  bp
	ret
_jzwrtchr  endp
_text	ends
	end

