Feb 11, 2013 #1 M maxim10373 Advanced Member level 4 Joined Feb 26, 2010 Messages 115 Helped 1 Reputation 2 Reaction score 2 Trophy points 1,298 Activity points 2,063 Dear All & All Please tell me what is the wrong with this code!! ; system intialization ; SysInit: MOV TMOD,#00010010B ; TMR0:MODE2 TMR1:MODE1 MOV TH0,#TMR0VAL ; Initial Timer0 Value MOV TL0,#TMR0VAL ; with TMR0VAL mov IE,#10000010B;Enable Timer0 interrupt SETB TR0 ; start Timer0 RET ; Return
Dear All & All Please tell me what is the wrong with this code!! ; system intialization ; SysInit: MOV TMOD,#00010010B ; TMR0:MODE2 TMR1:MODE1 MOV TH0,#TMR0VAL ; Initial Timer0 Value MOV TL0,#TMR0VAL ; with TMR0VAL mov IE,#10000010B;Enable Timer0 interrupt SETB TR0 ; start Timer0 RET ; Return