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
- ; add your code here
- .code
- mov ax,13
- mov bx,6
- mov cx,8
- cmp ax,bx
- jl label1
- jg label2
- label1:
- mov dl,'0'
- mov ah,2
- int 21h
- jmp finished
- label2:
- cmp bx,cx
- jl label1
- jg label3
- jmp finished
- label3:
- mov dl,'1'
- mov ah,2
- int 21h
- finished:
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement