Want help in Programming in Assembly

Hi,
i want an Assembly language program for my project of home security system in which iam using 89c51 microcontroller. the task in which iam facing the problem is that i am using IR based communication so i want an indication whenever anyone crosses between IR sensors. Kindly send me the codes through which this communication can happen.
Kindly help urgently.
Haris.

More questions in this forum