string scan proc

Any Idea will be appritiated.

Scan a string for the first occurence of a particular character, Input parameters: ES:DI points to the string and AL contains the character to find. Return values: If th echaracter is found, ZF = 1 and AX contains the character position [0...n] of match. Otherwise, ZF=0 and AX= -1.
Write a program that scans a large string [500 bytes or more] and counts the number of occurance of particular character.

Thanx in advance 4 ur contribution, God bless.
([email protected])
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!