Friday, July 2, 2010

# 3

jmp start
mess db 0ah,0dh,'enter a character:$'
mess1 db 0ah,0dh,'The character is:$'
start:

mov ah,09h
lea dx,mess
int 21h

mov ah,07h
int 21h

mov ah,02h
mov bl,al
mov dl,al
int 21h

mov ah,09h
lea dx,mess1
int 21h

mov ah,02h
mov dl,bl
int 21h
int 20h

No comments:

Post a Comment