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
- x_ db 0ah,0dh, "Coorect ! $"
- z_ db 0ah,0dh, "incorrect mamM maa's :( vulhoisey $"
- .code
- mov ax,@data
- mov ds,ax
- mov ah,1
- int 21h
- mov bl,al
- cmp bl,'y'
- je odd_
- cmp bl,'Y'
- je odd_
- jne z5
- odd_:
- lea dx,x_
- mov ah,9
- int 21h
- jmp finish
- z5:
- lea dx,z_
- mov ah,9
- int 21h
- jmp finish
- finish:
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement