Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .model small
- .stack 100h
- .data
- .code
- nl db 0dh,0ah,"$"
- main proc
- mov ax,@data
- mov ds,ax
- mov cx,10
- Test1:
- push cx
- inc bx
- mov cx,bx
- Test2:
- mov ah,2
- mov dl,'R'
- int 21h
- loop Test2
- lea dx,nl
- mov ah,9
- int 21h
- pop cx
- loop Test1
- exit:
- mov ah,4ch
- int 21h
- main endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement