Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org 100h
- .DATA
- a1 db 0 ;name size value
- a2 db 2
- arr dw 'b','i','s','m','o','y',' '
- .code
- proc main
- mov ah,a1
- mov bh,a2
- mov si,0
- mov cx,0
- mov ah,2
- call show
- call show
- hlt
- endp
- show proc
- push cx
- push si
- sha:
- mov dx,arr[si]
- int 21h
- add si,2
- add cx,1
- cmp cx,7
- jne sha
- pop cx
- pop si
- ret
- show endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement