Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; You may customize this and other start-up templates;
- ; The location of this template is c:\emu8086\inc\0_com_template.txt
- org 100h
- .data
- stars db 0ah,0dh,'***********',0ah,0dh, '$'
- mid db '***'
- c1 db ?
- c2 db ?
- c3 db ?,'***',0ah,0dh,'$'
- .code
- mov ax,@data
- mov DS,ax ;
- mov ah,1 ;single Char input
- int 21h ; every input output process here
- mov c1,al
- int 21h
- mov c2,al
- int 21h
- mov c3,al
- int 21h
- mov ah,2
- mov dl,0dh
- int 21h
- mov ah,9
- lea dx,stars
- int 21h
- int 21h
- int 21h
- int 21h
- int 21h
- lea dx,mid
- int 21h
- lea dx,stars
- int 21h
- int 21h
- int 21h
- int 21h
- int 21h
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement