Professional Documents
Culture Documents
To find whether the given byte is in given string or not & find its relative address
Program:
Given data:
INITIALLY: C=0,Z=0,S=0,O=0,P=0,A=0,I=1,D=0
AFTER EXECUTION: C=0,Z=1,S=0,O=0,P=1,A=0,I=1,D=0
Output:
RES: 45H
ADDRESS: BX----0002
Conclusion:
In this program we studied that to find whether the given byte is in given string or not
& find its relative address.