hi,
i have searched on same before post my question,as well i could find related solution..
yeah last question was on mikroC but now in same question i have mentioned that "i'm using at89s52 microcontroller " otherwise you gave me soultion for mikroC??????
btw thanks for your kind reply
Instead of giving us an impression of a lazy person, why don't you check this by yourself ? The answer can be quickly found in several places. Even so, I will give you a tip: The syntax of the commands of a compiler, as well as the syntax for its peripheral´s APIs is the same whatever the core you are compiling for.