Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .model small
- .data
- w dw 1,2,3,4,5
- .code
- main proc
- mov ax, @data
- mov ds,ax
- mov ax,w
- xchg w+8,ax
- mov w,ax
- lea si,w
- mov cx,5
- l1:
- mov dx,[si]
- add dx,48
- mov ah,2
- int 21h
- add si,2
- loop l1
- main endp
- end main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement