can i check the bit IE0 to decide whether an int0 interrupt is coming?
jnb ie0,$ clr ie0 ;interrupt service here