mmicroprocessor.blogspot.com
.model small
.data
m1 db "enter
char $"
.code
.startup
mov dx,offset m1
mov ah,09h
int 21h
mov ah,01h
int 21h
mov dl,al
mov ah,02h
int 21h
mov ah,4ch
int 21h
end
Output:
enter char 5
5
No comments:
Post a Comment