hey man thanks its working i have found some more binary codes by my self
i have checked these codes practically which are written bello i have also convert these binay codes in HEXA and DECIMAl values
---------- Post added at 00:42 ---------- Previous post was at 00:27 ----------
hey yadavvlsi
is this possible to give 89C51 a condition in which 89C51 compare to values and then take an action
The main thing which i want to do that 89C51 check a any pin for e.g. pin P 1.1 for how long its HIGH and then the time its high is then will have some sort of particular value like 100 then this value is compared by 2 values or we can say that from a range like 0 to 100 , so when values between 0 to 100 comes then 89C51 gives the code of 0 0 0 1 1 0 1 0 which is equal to 0.5 volt and there will be other ranges also lik from 101 to 200 then when value between 101 -200 comes then 89C51 gives the code of 0 0 1 1 0 1 0 0 which is equal to 1.01 Volt
if u got my concept so can u tell me the source code of that idea in ASSEMBLY language