0
7.0kviews
Write program to find number of times letter $'$ e $'$ exist in the string $'exercise'$ Store the count at memory.
2 Answers
| written 9.4 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 4.0 years ago by | • modified 4.0 years ago |
what is i want to change the letter that is searched