Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INCLUDE 'EMU8086.INC'
- .model small
- .stack 100h
- .data
- main proc
- PRINTN "INPUT",13
- mov ah,1
- int 21h
- mov bl,al
- PRINTN "OUTPUT : ",13
- cmp bx,97
- jge small_to_big
- add bl,32
- mov ah,2
- mov dl,bl
- int 21h
- jmp exit
- small_to_big:
- sub bl,32
- mov ah,02
- mov dl,bl
- int 21h
- jmp exit
- exit:
- mov ah,4ch
- int 21h
- main endp
- end main
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement