;This brief programs demonstrates the use of the carriage return & 
; line feed characters when writing to the screen in teletype mode
cr      equ     0dh        ;carriage return 
lf      equ     0ah        ;line feed
        mov     si, 0
mo:     mov     al, msg [si]
        cmp     al, 0
        je      stopit
        mov     bh, 0
        mov     ah, 0eh
        int     10h         ;write teletype
        inc     si
        jmp     mo
stopit: int     20h
msg     db  cr,lf, 'This is a ',cr,lf,'great message',0
        end