interrupt based programming in 89c51 plz help me out

Discussion in 'Embedded Systems and Microcontrollers' started by muralistarshine, Jan 26, 2010.

  1. muralistarshine

    Thread Starter New Member

    Dec 9, 2009
    1
    0
    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
     
Loading...