Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .model tiny
- .code
- org 100h
- start:
- jmp main
- ;
- name db, 00h, 00h, 01h, 'ananas', 00h
- main:
- mov es, word ptr es:2ch
- mov ah, 49h
- int 21h
- ;
- mov bx, 5
- mov ah, 48h
- int 21h
- ;
- mov cx, 10
- mov si, offset name
- mov es, ax
- mov di, 0
- rep movsb
- ;
- mov dx, 1
- mov al, 0
- mov ah, 31h
- int 21h
- end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement