.286
.model small
.code
org 100h
start:
	mov ax, word ptr ds:[2ch]
	mov es, ax
	xor si, si
gg:	cmp word ptr es:[si], 0
	jz myname
	inc si
	jmp gg
myname: add si, 4
	push es
	push si
	call puts
	int 20h

puts proc near
push bp
mov bp, sp
	pusha
	push es
	mov bx, word ptr [bp+4]
	mov ax, word ptr [bp+6]
	mov es, ax
	mov si, bx
	mov ah, 02h
wrt1:	mov dl, es:[si]
	test dl, dl
	jz coolex
	int 21h
	inc si
	jmp wrt1
coolex:
	pop es
	popa
pop bp
ret 	4
endp
end start