.model small
.code
org	100h
start:
	mov di,	80h
	mov al, [di]
	cmp al, 0
	je noprint
	mov ah,	0
	mov di, ax
	add di, 81h
	mov byte ptr [di],'$'
	mov ah,	09h
	mov dx,	82h
	int 21h
noprint:int 20h
end start