print a word letter by letter in Assembly language
.model small
.stack 100h
.code
start:
mov al,83
mov bh,82
mov bl,73
mov ch,76
mov cl,65
mov dh,78
mov dl,al
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,bh
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,bl
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,ch
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,cl
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,dh
mov ah,2h
int 21h
mov dl,10
int 21h
mov al,75
mov bh,65
mov dl,al
mov ah,2h
int 21h
mov dl,10
int 21
mov dl,bh
mov ah,2h
int 21h
mov dl,10
int 21
mov ah,4ch
int 21h
end start
.stack 100h
.code
start:
mov al,83
mov bh,82
mov bl,73
mov ch,76
mov cl,65
mov dh,78
mov dl,al
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,bh
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,bl
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,ch
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,cl
mov ah,2h
int 21h
mov dl,10
int 21h
mov dl,dh
mov ah,2h
int 21h
mov dl,10
int 21h
mov al,75
mov bh,65
mov dl,al
mov ah,2h
int 21h
mov dl,10
int 21
mov dl,bh
mov ah,2h
int 21h
mov dl,10
int 21
mov ah,4ch
int 21h
end start
Comments
Post a Comment