interrupt based programming in 89c51 plz help me out

Thread Starter

muralistarshine

Joined Dec 9, 2009
1
org 00h;
ljmp main;
org 0003h
setb p2.0;
RETI;
org 0013h;
clr p1.0;
reti;
org 0030h;
main:
mov IE,#10000001b ;
mov p3,#00h;

clr p2.0;
here: sjmp here;

end;

i have worked out this in proteus software .....it has been build successfully but it cant give desired output ....
could anyone chalkout mistake in above programmmmmmmmmmm
 
Top