Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
288 B
2
Indexable
Never
.model small
.stack 100h
.data
.code

main proc

mov cl,5
input:
mov ah,1
int 21h
mov ah,0
push ax 
loop input

mov ah,2
mov dl,10
int 21h
mov dl,13
int 21h

mov cl,5
output:
pop dx
mov ah,2
int 21h
loop output

mov ah,4ch
int 21h

main endp
end main