.model tiny .CODE assume cs:a a segment mov ax,2000h mov ds,ax xor si,si mov dx,si mov cx,12 s: mov bl,BYTE ptr ds:[si] add dx,bx inc si loop s mov ax,4c00h int 21h a ends end