https://pastein.ru/t/h6

  скопируйте уникальную ссылку для отправки



; You may customize this and other start-up templates; 
; The location of this template is c:\emu8086\inc\0_com_template.txt



org 100h
jmp start

buffer db 99 dup (45h),'$'

start:
    call output
    call output
    call output
        

ret

proc output
    mov dx, offset buffer
	xor bx, bx
	mov bl, buffer[1]
	mov buffer[bx+2], '$'
	mov dx, offset buffer + 2
	mov ah, 9
	int 21h
	mov ah,02h
	mov dl,0Ah
	int 21h
	mov dl,0Dh
	int 21h
	ret
endp output