0
6.4kviews
Write program to find number of times letter $'$ e $'$ exist in the string $'exercise'$ Store the count at memory.
2 Answers
written 7.8 years ago by |
DATA SEGMENT
MSG1 DB “ENTER THE STRING : $”
MSG2 DB “NO OF OCCURRENCES OF e : $”
NEWLINE DB 10, 13, ‘$’
STR1 DB 80 DUP(‘$’)
CNT DB 0
DATA ENDS
CODE SEGMENT
ASSUME DS: DATA, CS: CODE
START:
MOV AX, DATA
MOV DS, AX
MOV AH, 09H
LEA …
written 2.5 years ago by | • modified 2.5 years ago |
what is i want to change the letter that is searched