;Read a character. If it's "y" or "Y",
;display it; otherwise, •. terminate the program.
.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
MOV AH,1
INT 21H
MOV BL,AL
CMP BL,'Y'
JE L1
CMP BL,'y'
JE L1
JMP EXIT
L1:
MOV AH,2
MOV DL,BL
INT 21H
EXIT:
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
#assembly #assembly_Language